﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="PosData" targetNamespace="http://tempuri.org/PosData.xsd" xmlns:mstns="http://tempuri.org/PosData.xsd" xmlns="http://tempuri.org/PosData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="obs_posConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="obs_posConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.OBS.Pos.Properties.Settings.GlobalReference.Default.obs_posConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AppSettingsTableAdapter" GeneratorDataComponentClassName="AppSettingsTableAdapter" Name="AppSettings" UserDataComponentName="AppSettingsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.AppSettings" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AppSettings] ([AppSettingId], [SettingName], [SettingValue]) VALUES (@AppSettingId, @SettingName, @SettingValue)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@AppSettingId" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="AppSettingId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SettingName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SettingName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SettingValue" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SettingValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AppSettingId, SettingName, SettingValue FROM dbo.AppSettings</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AppSettingId" DataSetColumn="AppSettingId" />
              <Mapping SourceColumn="SettingName" DataSetColumn="SettingName" />
              <Mapping SourceColumn="SettingValue" DataSetColumn="SettingValue" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CurrenciesTableAdapter" GeneratorDataComponentClassName="CurrenciesTableAdapter" Name="Currencies" UserDataComponentName="CurrenciesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Currencies" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Currencies] WHERE (([CurrencyId] = @Original_CurrencyId) AND ([CurrencyName] = @Original_CurrencyName) AND ([Symbol] = @Original_Symbol))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CurrencyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrencyName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Currencies] ([CurrencyName], [Symbol]) VALUES (@CurrencyName, @Symbol);
SELECT CurrencyId, CurrencyName, Symbol FROM Currencies WHERE (CurrencyId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrencyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrencyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CurrencyId, CurrencyName, Symbol FROM dbo.Currencies</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Currencies] SET [CurrencyName] = @CurrencyName, [Symbol] = @Symbol WHERE (([CurrencyId] = @Original_CurrencyId) AND ([CurrencyName] = @Original_CurrencyName) AND ([Symbol] = @Original_Symbol));
SELECT CurrencyId, CurrencyName, Symbol FROM Currencies WHERE (CurrencyId = @CurrencyId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrencyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrencyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CurrencyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrencyName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Symbol" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Symbol" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CurrencyId" ColumnName="CurrencyId" DataSourceName="obs_pos.dbo.Currencies" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CurrencyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CurrencyId" DataSetColumn="CurrencyId" />
              <Mapping SourceColumn="CurrencyName" DataSetColumn="CurrencyName" />
              <Mapping SourceColumn="Symbol" DataSetColumn="Symbol" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerOutsTableAdapter" GeneratorDataComponentClassName="CustomerOutsTableAdapter" Name="CustomerOuts" UserDataComponentName="CustomerOutsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.CustomerOuts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[CustomerOuts] WHERE (([CustomerOutId] = @Original_CustomerOutId) AND ((@IsNull_CustomerId = 1 AND [CustomerId] IS NULL) OR ([CustomerId] = @Original_CustomerId)) AND ([Memo] = @Original_Memo) AND ([Amount] = @Original_Amount) AND ((@IsNull_PostDate = 1 AND [PostDate] IS NULL) OR ([PostDate] = @Original_PostDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerOutId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerOutId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PostDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PostDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CustomerOuts] ([CustomerId], [Memo], [Amount], [PostDate]) VALUES (@CustomerId, @Memo, @Amount, @PostDate);
SELECT CustomerOutId, CustomerId, Memo, Amount, PostDate FROM CustomerOuts WHERE (CustomerOutId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PostDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PostDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerOutId, CustomerId, Memo, Amount, PostDate FROM dbo.CustomerOuts</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[CustomerOuts] SET [CustomerId] = @CustomerId, [Memo] = @Memo, [Amount] = @Amount, [PostDate] = @PostDate WHERE (([CustomerOutId] = @Original_CustomerOutId) AND ((@IsNull_CustomerId = 1 AND [CustomerId] IS NULL) OR ([CustomerId] = @Original_CustomerId)) AND ([Memo] = @Original_Memo) AND ([Amount] = @Original_Amount) AND ((@IsNull_PostDate = 1 AND [PostDate] IS NULL) OR ([PostDate] = @Original_PostDate)));
SELECT CustomerOutId, CustomerId, Memo, Amount, PostDate FROM CustomerOuts WHERE (CustomerOutId = @CustomerOutId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PostDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PostDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerOutId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerOutId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PostDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PostDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PostDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="PostDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CustomerOutId" ColumnName="CustomerOutId" DataSourceName="obs_pos.dbo.CustomerOuts" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CustomerOutId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="CustomerOutId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerOutId" DataSetColumn="CustomerOutId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="Memo" DataSetColumn="Memo" />
              <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
              <Mapping SourceColumn="PostDate" DataSetColumn="PostDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomersTableAdapter" GeneratorDataComponentClassName="CustomersTableAdapter" Name="Customers" UserDataComponentName="CustomersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Customers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Customers] WHERE (([CustomerId] = @Original_CustomerId) AND ([CustomerName] = @Original_CustomerName) AND ([PaymentModeId] = @Original_PaymentModeId) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_ContactFirstName = 1 AND [ContactFirstName] IS NULL) OR ([ContactFirstName] = @Original_ContactFirstName)) AND ((@IsNull_ContactLastName = 1 AND [ContactLastName] IS NULL) OR ([ContactLastName] = @Original_ContactLastName)) AND ((@IsNull_ContactPhone = 1 AND [ContactPhone] IS NULL) OR ([ContactPhone] = @Original_ContactPhone)) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)) AND ((@IsNull_ContactAddress = 1 AND [ContactAddress] IS NULL) OR ([ContactAddress] = @Original_ContactAddress)) AND ([MinBalance] = @Original_MinBalance) AND ([MinCredit] = @Original_MinCredit) AND ([OpenBalance] = @Original_OpenBalance) AND ((@IsNull_CreatedOn = 1 AND [CreatedOn] IS NULL) OR ([CreatedOn] = @Original_CreatedOn)) AND ((@IsNull_CreatedBy = 1 AND [CreatedBy] IS NULL) OR ([CreatedBy] = @Original_CreatedBy)) AND ((@IsNull_ModifiedOn = 1 AND [ModifiedOn] IS NULL) OR ([ModifiedOn] = @Original_ModifiedOn)) AND ((@IsNull_ModifiedBy = 1 AND [ModifiedBy] IS NULL) OR ([ModifiedBy] = @Original_ModifiedBy)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CustomerName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactFirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactLastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_MinBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinBalance" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_MinCredit" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinCredit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_OpenBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OpenBalance" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreatedOn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreatedOn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreatedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreatedOn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreatedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreatedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CreatedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CreatedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ModifiedOn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ModifiedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Customers] ([CustomerName], [PaymentModeId], [Address], [Email], [ContactFirstName], [ContactLastName], [ContactPhone], [ContactEmail], [ContactAddress], [MinBalance], [MinCredit], [OpenBalance], [CreatedOn], [CreatedBy], [ModifiedOn], [ModifiedBy]) VALUES (@CustomerName, @PaymentModeId, @Address, @Email, @ContactFirstName, @ContactLastName, @ContactPhone, @ContactEmail, @ContactAddress, @MinBalance, @MinCredit, @OpenBalance, @CreatedOn, @CreatedBy, @ModifiedOn, @ModifiedBy);
SELECT CustomerId, CustomerName, PaymentModeId, Address, Email, ContactFirstName, ContactLastName, ContactPhone, ContactEmail, ContactAddress, MinBalance, MinCredit, OpenBalance, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy FROM Customers WHERE (CustomerId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CustomerName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@MinBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinBalance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@MinCredit" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinCredit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@OpenBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OpenBalance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreatedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreatedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CreatedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CreatedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerId, CustomerName, PaymentModeId, Address, Email, ContactFirstName, ContactLastName, ContactPhone, ContactEmail, ContactAddress, MinBalance, MinCredit, OpenBalance, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy FROM dbo.Customers</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Customers] SET [CustomerName] = @CustomerName, [PaymentModeId] = @PaymentModeId, [Address] = @Address, [Email] = @Email, [ContactFirstName] = @ContactFirstName, [ContactLastName] = @ContactLastName, [ContactPhone] = @ContactPhone, [ContactEmail] = @ContactEmail, [ContactAddress] = @ContactAddress, [MinBalance] = @MinBalance, [MinCredit] = @MinCredit, [OpenBalance] = @OpenBalance, [CreatedOn] = @CreatedOn, [CreatedBy] = @CreatedBy, [ModifiedOn] = @ModifiedOn, [ModifiedBy] = @ModifiedBy WHERE (([CustomerId] = @Original_CustomerId) AND ([CustomerName] = @Original_CustomerName) AND ([PaymentModeId] = @Original_PaymentModeId) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_Email = 1 AND [Email] IS NULL) OR ([Email] = @Original_Email)) AND ((@IsNull_ContactFirstName = 1 AND [ContactFirstName] IS NULL) OR ([ContactFirstName] = @Original_ContactFirstName)) AND ((@IsNull_ContactLastName = 1 AND [ContactLastName] IS NULL) OR ([ContactLastName] = @Original_ContactLastName)) AND ((@IsNull_ContactPhone = 1 AND [ContactPhone] IS NULL) OR ([ContactPhone] = @Original_ContactPhone)) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)) AND ((@IsNull_ContactAddress = 1 AND [ContactAddress] IS NULL) OR ([ContactAddress] = @Original_ContactAddress)) AND ([MinBalance] = @Original_MinBalance) AND ([MinCredit] = @Original_MinCredit) AND ([OpenBalance] = @Original_OpenBalance) AND ((@IsNull_CreatedOn = 1 AND [CreatedOn] IS NULL) OR ([CreatedOn] = @Original_CreatedOn)) AND ((@IsNull_CreatedBy = 1 AND [CreatedBy] IS NULL) OR ([CreatedBy] = @Original_CreatedBy)) AND ((@IsNull_ModifiedOn = 1 AND [ModifiedOn] IS NULL) OR ([ModifiedOn] = @Original_ModifiedOn)) AND ((@IsNull_ModifiedBy = 1 AND [ModifiedBy] IS NULL) OR ([ModifiedBy] = @Original_ModifiedBy)));
SELECT CustomerId, CustomerName, PaymentModeId, Address, Email, ContactFirstName, ContactLastName, ContactPhone, ContactEmail, ContactAddress, MinBalance, MinCredit, OpenBalance, CreatedOn, CreatedBy, ModifiedOn, ModifiedBy FROM Customers WHERE (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CustomerName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@MinBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinBalance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@MinCredit" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinCredit" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@OpenBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OpenBalance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreatedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreatedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CreatedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CreatedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CustomerName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CustomerName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Email" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactFirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactLastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_MinBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinBalance" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_MinCredit" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinCredit" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_OpenBalance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="OpenBalance" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreatedOn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreatedOn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreatedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreatedOn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreatedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreatedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CreatedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CreatedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ModifiedOn" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ModifiedOn" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedOn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ModifiedBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CustomerId" ColumnName="CustomerId" DataSourceName="obs_pos.dbo.Customers" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="CustomerName" DataSetColumn="CustomerName" />
              <Mapping SourceColumn="PaymentModeId" DataSetColumn="PaymentModeId" />
              <Mapping SourceColumn="Address" DataSetColumn="Address" />
              <Mapping SourceColumn="Email" DataSetColumn="Email" />
              <Mapping SourceColumn="ContactFirstName" DataSetColumn="ContactFirstName" />
              <Mapping SourceColumn="ContactLastName" DataSetColumn="ContactLastName" />
              <Mapping SourceColumn="ContactPhone" DataSetColumn="ContactPhone" />
              <Mapping SourceColumn="ContactEmail" DataSetColumn="ContactEmail" />
              <Mapping SourceColumn="ContactAddress" DataSetColumn="ContactAddress" />
              <Mapping SourceColumn="MinBalance" DataSetColumn="MinBalance" />
              <Mapping SourceColumn="MinCredit" DataSetColumn="MinCredit" />
              <Mapping SourceColumn="OpenBalance" DataSetColumn="OpenBalance" />
              <Mapping SourceColumn="CreatedOn" DataSetColumn="CreatedOn" />
              <Mapping SourceColumn="CreatedBy" DataSetColumn="CreatedBy" />
              <Mapping SourceColumn="ModifiedOn" DataSetColumn="ModifiedOn" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LocationsTableAdapter" GeneratorDataComponentClassName="LocationsTableAdapter" Name="Locations" UserDataComponentName="LocationsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Locations" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Locations] WHERE (([LocationId] = @Original_LocationId) AND ([LocationName] = @Original_LocationName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_ContactName = 1 AND [ContactName] IS NULL) OR ([ContactName] = @Original_ContactName)) AND ((@IsNull_ContactPhone = 1 AND [ContactPhone] IS NULL) OR ([ContactPhone] = @Original_ContactPhone)) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LocationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LocationName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Locations] ([LocationName], [Description], [Address], [ContactName], [ContactPhone], [ContactEmail]) VALUES (@LocationName, @Description, @Address, @ContactName, @ContactPhone, @ContactEmail);
SELECT LocationId, LocationName, Description, Address, ContactName, ContactPhone, ContactEmail FROM Locations WHERE (LocationId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LocationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LocationName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT LocationId, LocationName, Description, Address, ContactName, ContactPhone, ContactEmail FROM dbo.Locations</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Locations] SET [LocationName] = @LocationName, [Description] = @Description, [Address] = @Address, [ContactName] = @ContactName, [ContactPhone] = @ContactPhone, [ContactEmail] = @ContactEmail WHERE (([LocationId] = @Original_LocationId) AND ([LocationName] = @Original_LocationName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_ContactName = 1 AND [ContactName] IS NULL) OR ([ContactName] = @Original_ContactName)) AND ((@IsNull_ContactPhone = 1 AND [ContactPhone] IS NULL) OR ([ContactPhone] = @Original_ContactPhone)) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)));
SELECT LocationId, LocationName, Description, Address, ContactName, ContactPhone, ContactEmail FROM Locations WHERE (LocationId = @LocationId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@LocationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LocationName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_LocationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="LocationName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LocationId" ColumnName="LocationId" DataSourceName="obs_pos.dbo.Locations" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LocationId" DataSetColumn="LocationId" />
              <Mapping SourceColumn="LocationName" DataSetColumn="LocationName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Address" DataSetColumn="Address" />
              <Mapping SourceColumn="ContactName" DataSetColumn="ContactName" />
              <Mapping SourceColumn="ContactPhone" DataSetColumn="ContactPhone" />
              <Mapping SourceColumn="ContactEmail" DataSetColumn="ContactEmail" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PaymentTypesTableAdapter" GeneratorDataComponentClassName="PaymentTypesTableAdapter" Name="PaymentTypes" UserDataComponentName="PaymentTypesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.PaymentTypes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PaymentTypes] WHERE (([PaymentTypeId] = @Original_PaymentTypeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PaymentTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PaymentTypes] ([PaymentTypeId], [Name], [Description]) VALUES (@PaymentTypeId, @Name, @Description);
SELECT PaymentTypeId, Name, Description FROM PaymentTypes WHERE (PaymentTypeId = @PaymentTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PaymentTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PaymentTypeId, Name, Description FROM dbo.PaymentTypes</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PaymentTypes] SET [PaymentTypeId] = @PaymentTypeId, [Name] = @Name, [Description] = @Description WHERE (([PaymentTypeId] = @Original_PaymentTypeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)));
SELECT PaymentTypeId, Name, Description FROM PaymentTypes WHERE (PaymentTypeId = @PaymentTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PaymentTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PaymentTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PaymentTypeId" DataSetColumn="PaymentTypeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PayTransTableAdapter" GeneratorDataComponentClassName="PayTransTableAdapter" Name="PayTrans" UserDataComponentName="PayTransTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.PayTrans" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PayTrans] WHERE (([TransactionId] = @Original_TransactionId) AND ([CustomerId] = @Original_CustomerId) AND ([Memo] = @Original_Memo) AND ([TransactionType] = @Original_TransactionType) AND ((@IsNull_CurrencyId = 1 AND [CurrencyId] IS NULL) OR ([CurrencyId] = @Original_CurrencyId)) AND ((@IsNull_PaymentModeId = 1 AND [PaymentModeId] IS NULL) OR ([PaymentModeId] = @Original_PaymentModeId)) AND ((@IsNull_CardNum = 1 AND [CardNum] IS NULL) OR ([CardNum] = @Original_CardNum)) AND ((@IsNull_CardExpiryDate = 1 AND [CardExpiryDate] IS NULL) OR ([CardExpiryDate] = @Original_CardExpiryDate)) AND ([Amount] = @Original_Amount))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_TransactionId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_TransactionType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentModeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CardNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CardNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CardNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CardNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CardExpiryDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CardExpiryDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CardExpiryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CardExpiryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PayTrans] ([TransactionId], [CustomerId], [Memo], [TransactionType], [CurrencyId], [PaymentModeId], [CardNum], [CardExpiryDate], [Amount]) VALUES (@TransactionId, @CustomerId, @Memo, @TransactionType, @CurrencyId, @PaymentModeId, @CardNum, @CardExpiryDate, @Amount);
SELECT TransactionId, CustomerId, Memo, TransactionType, CurrencyId, PaymentModeId, CardNum, CardExpiryDate, Amount FROM PayTrans WHERE (TransactionId = @TransactionId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@TransactionId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@TransactionType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CardNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CardNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CardExpiryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CardExpiryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TransactionId, CustomerId, Memo, TransactionType, CurrencyId, PaymentModeId, CardNum, CardExpiryDate, Amount FROM dbo.PayTrans</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PayTrans] SET [TransactionId] = @TransactionId, [CustomerId] = @CustomerId, [Memo] = @Memo, [TransactionType] = @TransactionType, [CurrencyId] = @CurrencyId, [PaymentModeId] = @PaymentModeId, [CardNum] = @CardNum, [CardExpiryDate] = @CardExpiryDate, [Amount] = @Amount WHERE (([TransactionId] = @Original_TransactionId) AND ([CustomerId] = @Original_CustomerId) AND ([Memo] = @Original_Memo) AND ([TransactionType] = @Original_TransactionType) AND ((@IsNull_CurrencyId = 1 AND [CurrencyId] IS NULL) OR ([CurrencyId] = @Original_CurrencyId)) AND ((@IsNull_PaymentModeId = 1 AND [PaymentModeId] IS NULL) OR ([PaymentModeId] = @Original_PaymentModeId)) AND ((@IsNull_CardNum = 1 AND [CardNum] IS NULL) OR ([CardNum] = @Original_CardNum)) AND ((@IsNull_CardExpiryDate = 1 AND [CardExpiryDate] IS NULL) OR ([CardExpiryDate] = @Original_CardExpiryDate)) AND ([Amount] = @Original_Amount));
SELECT TransactionId, CustomerId, Memo, TransactionType, CurrencyId, PaymentModeId, CardNum, CardExpiryDate, Amount FROM PayTrans WHERE (TransactionId = @TransactionId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@TransactionId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@TransactionType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CardNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CardNum" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CardExpiryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CardExpiryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_TransactionId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="TransactionId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Memo" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Memo" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_TransactionType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CurrencyId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentModeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PaymentModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PaymentModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CardNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CardNum" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CardNum" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CardNum" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CardExpiryDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CardExpiryDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CardExpiryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CardExpiryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Amount" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Amount" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TransactionId" DataSetColumn="TransactionId" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="Memo" DataSetColumn="Memo" />
              <Mapping SourceColumn="TransactionType" DataSetColumn="TransactionType" />
              <Mapping SourceColumn="CurrencyId" DataSetColumn="CurrencyId" />
              <Mapping SourceColumn="PaymentModeId" DataSetColumn="PaymentModeId" />
              <Mapping SourceColumn="CardNum" DataSetColumn="CardNum" />
              <Mapping SourceColumn="CardExpiryDate" DataSetColumn="CardExpiryDate" />
              <Mapping SourceColumn="Amount" DataSetColumn="Amount" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PeriodsTableAdapter" GeneratorDataComponentClassName="PeriodsTableAdapter" Name="Periods" UserDataComponentName="PeriodsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Periods" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Periods] WHERE (([PeriodId] = @Original_PeriodId) AND ([PeriodName] = @Original_PeriodName) AND ((@IsNull_Year = 1 AND [Year] IS NULL) OR ([Year] = @Original_Year)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PeriodName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PeriodName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Year" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Year" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Periods] ([PeriodName], [Year], [StartDate], [EndDate]) VALUES (@PeriodName, @Year, @StartDate, @EndDate);
SELECT PeriodId, PeriodName, Year, StartDate, EndDate FROM Periods WHERE (PeriodId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PeriodName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PeriodName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Year" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PeriodId, PeriodName, Year, StartDate, EndDate FROM dbo.Periods</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Periods] SET [PeriodName] = @PeriodName, [Year] = @Year, [StartDate] = @StartDate, [EndDate] = @EndDate WHERE (([PeriodId] = @Original_PeriodId) AND ([PeriodName] = @Original_PeriodName) AND ((@IsNull_Year = 1 AND [Year] IS NULL) OR ([Year] = @Original_Year)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)));
SELECT PeriodId, PeriodName, Year, StartDate, EndDate FROM Periods WHERE (PeriodId = @PeriodId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PeriodName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PeriodName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Year" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PeriodName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PeriodName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Year" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Year" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Year" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PeriodId" ColumnName="PeriodId" DataSourceName="obs_pos.dbo.Periods" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PeriodId" DataSetColumn="PeriodId" />
              <Mapping SourceColumn="PeriodName" DataSetColumn="PeriodName" />
              <Mapping SourceColumn="Year" DataSetColumn="Year" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductCategoriesTableAdapter" GeneratorDataComponentClassName="ProductCategoriesTableAdapter" Name="ProductCategories" UserDataComponentName="ProductCategoriesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.ProductCategories" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductCategories] ([ProductId], [CategoryId]) VALUES (@ProductId, @CategoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CategoryId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, CategoryId FROM dbo.ProductCategories</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="CategoryId" DataSetColumn="CategoryId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductStockTableAdapter" GeneratorDataComponentClassName="ProductStockTableAdapter" Name="ProductStock" UserDataComponentName="ProductStockTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.ProductStock" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductStock] WHERE (([StockId] = @Original_StockId) AND ([ProductId] = @Original_ProductId) AND ((@IsNull_PeriodId = 1 AND [PeriodId] IS NULL) OR ([PeriodId] = @Original_PeriodId)) AND ([TargetLocationId] = @Original_TargetLocationId) AND ([SourceLocationId] = @Original_SourceLocationId) AND ([Quantity] = @Original_Quantity) AND ([StockType] = @Original_StockType) AND ([StockDate] = @Original_StockDate) AND ([IsFrozen] = @Original_IsFrozen))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_StockId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="StockId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PeriodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_TargetLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TargetLocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SourceLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SourceLocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Quantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_StockType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StockDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsFrozen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsFrozen" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductStock] ([ProductId], [PeriodId], [TargetLocationId], [SourceLocationId], [Quantity], [StockType], [StockDate], [IsFrozen]) VALUES (@ProductId, @PeriodId, @TargetLocationId, @SourceLocationId, @Quantity, @StockType, @StockDate, @IsFrozen);
SELECT StockId, ProductId, PeriodId, TargetLocationId, SourceLocationId, Quantity, StockType, StockDate, IsFrozen FROM ProductStock WHERE (StockId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@TargetLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TargetLocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SourceLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SourceLocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Quantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@StockType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StockDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsFrozen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsFrozen" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT StockId, ProductId, PeriodId, TargetLocationId, SourceLocationId, Quantity, StockType, StockDate, IsFrozen FROM dbo.ProductStock</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductStock] SET [ProductId] = @ProductId, [PeriodId] = @PeriodId, [TargetLocationId] = @TargetLocationId, [SourceLocationId] = @SourceLocationId, [Quantity] = @Quantity, [StockType] = @StockType, [StockDate] = @StockDate, [IsFrozen] = @IsFrozen WHERE (([StockId] = @Original_StockId) AND ([ProductId] = @Original_ProductId) AND ((@IsNull_PeriodId = 1 AND [PeriodId] IS NULL) OR ([PeriodId] = @Original_PeriodId)) AND ([TargetLocationId] = @Original_TargetLocationId) AND ([SourceLocationId] = @Original_SourceLocationId) AND ([Quantity] = @Original_Quantity) AND ([StockType] = @Original_StockType) AND ([StockDate] = @Original_StockDate) AND ([IsFrozen] = @Original_IsFrozen));
SELECT StockId, ProductId, PeriodId, TargetLocationId, SourceLocationId, Quantity, StockType, StockDate, IsFrozen FROM ProductStock WHERE (StockId = @StockId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@TargetLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TargetLocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SourceLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SourceLocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Quantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@StockType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StockDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsFrozen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsFrozen" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_StockId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="StockId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PeriodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_TargetLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TargetLocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SourceLocationId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SourceLocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_Quantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_StockType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StockDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsFrozen" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsFrozen" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StockId" ColumnName="StockId" DataSourceName="obs_pos.dbo.ProductStock" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@StockId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="StockId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StockId" DataSetColumn="StockId" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="PeriodId" DataSetColumn="PeriodId" />
              <Mapping SourceColumn="TargetLocationId" DataSetColumn="TargetLocationId" />
              <Mapping SourceColumn="SourceLocationId" DataSetColumn="SourceLocationId" />
              <Mapping SourceColumn="Quantity" DataSetColumn="Quantity" />
              <Mapping SourceColumn="StockType" DataSetColumn="StockType" />
              <Mapping SourceColumn="StockDate" DataSetColumn="StockDate" />
              <Mapping SourceColumn="IsFrozen" DataSetColumn="IsFrozen" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductSuppliersTableAdapter" GeneratorDataComponentClassName="ProductSuppliersTableAdapter" Name="ProductSuppliers" UserDataComponentName="ProductSuppliersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.ProductSuppliers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductSuppliers] WHERE (([SupplyId] = @Original_SupplyId) AND ([SupplierId] = @Original_SupplierId) AND ((@IsNull_ProductIId = 1 AND [ProductIId] IS NULL) OR ([ProductIId] = @Original_ProductIId)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SupplyId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SupplierId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductIId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductIId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductIId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductIId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductSuppliers] ([SupplierId], [ProductIId]) VALUES (@SupplierId, @ProductIId);
SELECT SupplyId, SupplierId, ProductIId FROM ProductSuppliers WHERE (SupplyId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SupplierId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ProductIId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductIId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SupplyId, SupplierId, ProductIId FROM dbo.ProductSuppliers</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductSuppliers] SET [SupplierId] = @SupplierId, [ProductIId] = @ProductIId WHERE (([SupplyId] = @Original_SupplyId) AND ([SupplierId] = @Original_SupplierId) AND ((@IsNull_ProductIId = 1 AND [ProductIId] IS NULL) OR ([ProductIId] = @Original_ProductIId)));
SELECT SupplyId, SupplierId, ProductIId FROM ProductSuppliers WHERE (SupplyId = @SupplyId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SupplierId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ProductIId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductIId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SupplyId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplyId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SupplierId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductIId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductIId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductIId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductIId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SupplyId" ColumnName="SupplyId" DataSourceName="obs_pos.dbo.ProductSuppliers" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@SupplyId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="SupplyId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SupplyId" DataSetColumn="SupplyId" />
              <Mapping SourceColumn="SupplierId" DataSetColumn="SupplierId" />
              <Mapping SourceColumn="ProductIId" DataSetColumn="ProductIId" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RolesTableAdapter" GeneratorDataComponentClassName="RolesTableAdapter" Name="Roles" UserDataComponentName="RolesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Roles" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Roles] WHERE (([RoleId] = @Original_RoleId) AND ([RoleName] = @Original_RoleName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_AccessList = 1 AND [AccessList] IS NULL) OR ([AccessList] = @Original_AccessList)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RoleId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AccessList" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AccessList" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AccessList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccessList" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Roles] ([RoleName], [Description], [AccessList]) VALUES (@RoleName, @Description, @AccessList);
SELECT RoleId, RoleName, Description, AccessList FROM Roles WHERE (RoleId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccessList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccessList" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT RoleId, RoleName, Description, AccessList FROM dbo.Roles</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Roles] SET [RoleName] = @RoleName, [Description] = @Description, [AccessList] = @AccessList WHERE (([RoleId] = @Original_RoleId) AND ([RoleName] = @Original_RoleName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_AccessList = 1 AND [AccessList] IS NULL) OR ([AccessList] = @Original_AccessList)));
SELECT RoleId, RoleName, Description, AccessList FROM Roles WHERE (RoleId = @RoleId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccessList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccessList" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RoleId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AccessList" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AccessList" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_AccessList" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccessList" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="RoleId" ColumnName="RoleId" DataSourceName="obs_pos.dbo.Roles" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@RoleId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="RoleId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="RoleId" DataSetColumn="RoleId" />
              <Mapping SourceColumn="RoleName" DataSetColumn="RoleName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="AccessList" DataSetColumn="AccessList" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StockCountTableAdapter" GeneratorDataComponentClassName="StockCountTableAdapter" Name="StockCount" UserDataComponentName="StockCountTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.StockCount" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[StockCount] WHERE (([CountId] = @Original_CountId) AND ([PeriodId] = @Original_PeriodId) AND ([ProductId] = @Original_ProductId) AND ([CountedQuantity] = @Original_CountedQuantity) AND ([SystemQuantity] = @Original_SystemQuantity) AND ([CountedStockDate] = @Original_CountedStockDate) AND ([SystemStockDate] = @Original_SystemStockDate))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CountId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CountedQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CountedQuantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_SystemQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SystemQuantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CountedStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CountedStockDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_SystemStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SystemStockDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[StockCount] ([PeriodId], [ProductId], [CountedQuantity], [SystemQuantity], [CountedStockDate], [SystemStockDate]) VALUES (@PeriodId, @ProductId, @CountedQuantity, @SystemQuantity, @CountedStockDate, @SystemStockDate);
SELECT CountId, PeriodId, ProductId, CountedQuantity, SystemQuantity, CountedStockDate, SystemStockDate FROM StockCount WHERE (CountId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CountedQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CountedQuantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SystemQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SystemQuantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CountedStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CountedStockDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SystemStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SystemStockDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CountId, PeriodId, ProductId, CountedQuantity, SystemQuantity, CountedStockDate, SystemStockDate FROM dbo.StockCount</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[StockCount] SET [PeriodId] = @PeriodId, [ProductId] = @ProductId, [CountedQuantity] = @CountedQuantity, [SystemQuantity] = @SystemQuantity, [CountedStockDate] = @CountedStockDate, [SystemStockDate] = @SystemStockDate WHERE (([CountId] = @Original_CountId) AND ([PeriodId] = @Original_PeriodId) AND ([ProductId] = @Original_ProductId) AND ([CountedQuantity] = @Original_CountedQuantity) AND ([SystemQuantity] = @Original_SystemQuantity) AND ([CountedStockDate] = @Original_CountedStockDate) AND ([SystemStockDate] = @Original_SystemStockDate));
SELECT CountId, PeriodId, ProductId, CountedQuantity, SystemQuantity, CountedStockDate, SystemStockDate FROM StockCount WHERE (CountId = @CountId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CountedQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CountedQuantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SystemQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SystemQuantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CountedStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CountedStockDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SystemStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SystemStockDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CountId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CountId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PeriodId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PeriodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CountedQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CountedQuantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_SystemQuantity" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SystemQuantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CountedStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CountedStockDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_SystemStockDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SystemStockDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CountId" ColumnName="CountId" DataSourceName="obs_pos.dbo.StockCount" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CountId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="CountId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CountId" DataSetColumn="CountId" />
              <Mapping SourceColumn="PeriodId" DataSetColumn="PeriodId" />
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="CountedQuantity" DataSetColumn="CountedQuantity" />
              <Mapping SourceColumn="SystemQuantity" DataSetColumn="SystemQuantity" />
              <Mapping SourceColumn="CountedStockDate" DataSetColumn="CountedStockDate" />
              <Mapping SourceColumn="SystemStockDate" DataSetColumn="SystemStockDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StockTypesTableAdapter" GeneratorDataComponentClassName="StockTypesTableAdapter" Name="StockTypes" UserDataComponentName="StockTypesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.StockTypes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[StockTypes] WHERE (([StockTypeId] = @Original_StockTypeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_StockTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[StockTypes] ([StockTypeId], [Name], [Description]) VALUES (@StockTypeId, @Name, @Description);
SELECT StockTypeId, Name, Description FROM StockTypes WHERE (StockTypeId = @StockTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@StockTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT StockTypeId, Name, Description FROM dbo.StockTypes</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[StockTypes] SET [StockTypeId] = @StockTypeId, [Name] = @Name, [Description] = @Description WHERE (([StockTypeId] = @Original_StockTypeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)));
SELECT StockTypeId, Name, Description FROM StockTypes WHERE (StockTypeId = @StockTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@StockTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_StockTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="StockTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StockTypeId" DataSetColumn="StockTypeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SuppliersTableAdapter" GeneratorDataComponentClassName="SuppliersTableAdapter" Name="Suppliers" UserDataComponentName="SuppliersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Suppliers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Suppliers] WHERE (([SupplierId] = @Original_SupplierId) AND ([SupplierName] = @Original_SupplierName) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_ContactFirstName = 1 AND [ContactFirstName] IS NULL) OR ([ContactFirstName] = @Original_ContactFirstName)) AND ((@IsNull_ContactLastName = 1 AND [ContactLastName] IS NULL) OR ([ContactLastName] = @Original_ContactLastName)) AND ((@IsNull_ContactPhone = 1 AND [ContactPhone] IS NULL) OR ([ContactPhone] = @Original_ContactPhone)) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)) AND ((@IsNull_ContactAddress = 1 AND [ContactAddress] IS NULL) OR ([ContactAddress] = @Original_ContactAddress)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SupplierId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SupplierName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SupplierName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactFirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactLastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Suppliers] ([SupplierName], [Address], [ContactFirstName], [ContactLastName], [ContactPhone], [ContactEmail], [ContactAddress]) VALUES (@SupplierName, @Address, @ContactFirstName, @ContactLastName, @ContactPhone, @ContactEmail, @ContactAddress);
SELECT SupplierId, SupplierName, Address, ContactFirstName, ContactLastName, ContactPhone, ContactEmail, ContactAddress FROM Suppliers WHERE (SupplierId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SupplierName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SupplierName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SupplierId, SupplierName, Address, ContactFirstName, ContactLastName, ContactPhone, ContactEmail, ContactAddress FROM dbo.Suppliers</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Suppliers] SET [SupplierName] = @SupplierName, [Address] = @Address, [ContactFirstName] = @ContactFirstName, [ContactLastName] = @ContactLastName, [ContactPhone] = @ContactPhone, [ContactEmail] = @ContactEmail, [ContactAddress] = @ContactAddress WHERE (([SupplierId] = @Original_SupplierId) AND ([SupplierName] = @Original_SupplierName) AND ((@IsNull_Address = 1 AND [Address] IS NULL) OR ([Address] = @Original_Address)) AND ((@IsNull_ContactFirstName = 1 AND [ContactFirstName] IS NULL) OR ([ContactFirstName] = @Original_ContactFirstName)) AND ((@IsNull_ContactLastName = 1 AND [ContactLastName] IS NULL) OR ([ContactLastName] = @Original_ContactLastName)) AND ((@IsNull_ContactPhone = 1 AND [ContactPhone] IS NULL) OR ([ContactPhone] = @Original_ContactPhone)) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)) AND ((@IsNull_ContactAddress = 1 AND [ContactAddress] IS NULL) OR ([ContactAddress] = @Original_ContactAddress)));
SELECT SupplierId, SupplierName, Address, ContactFirstName, ContactLastName, ContactPhone, ContactEmail, ContactAddress FROM Suppliers WHERE (SupplierId = @SupplierId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@SupplierName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SupplierName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SupplierId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SupplierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_SupplierName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="SupplierName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Address" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactFirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactFirstName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactFirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactLastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactLastName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactLastName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactPhone" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactPhone" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactPhone" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactAddress" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactAddress" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactAddress" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SupplierId" ColumnName="SupplierId" DataSourceName="obs_pos.dbo.Suppliers" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@SupplierId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="SupplierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SupplierId" DataSetColumn="SupplierId" />
              <Mapping SourceColumn="SupplierName" DataSetColumn="SupplierName" />
              <Mapping SourceColumn="Address" DataSetColumn="Address" />
              <Mapping SourceColumn="ContactFirstName" DataSetColumn="ContactFirstName" />
              <Mapping SourceColumn="ContactLastName" DataSetColumn="ContactLastName" />
              <Mapping SourceColumn="ContactPhone" DataSetColumn="ContactPhone" />
              <Mapping SourceColumn="ContactEmail" DataSetColumn="ContactEmail" />
              <Mapping SourceColumn="ContactAddress" DataSetColumn="ContactAddress" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TaxesTableAdapter" GeneratorDataComponentClassName="TaxesTableAdapter" Name="Taxes" UserDataComponentName="TaxesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Taxes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Taxes] WHERE (([TaxId] = @Original_TaxId) AND ([TaxName] = @Original_TaxName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([TaxValue] = @Original_TaxValue))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_TaxId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TaxId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TaxName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_TaxValue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Taxes] ([TaxName], [Description], [TaxValue]) VALUES (@TaxName, @Description, @TaxValue);
SELECT TaxId, TaxName, Description, TaxValue FROM Taxes WHERE (TaxId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TaxName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxValue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TaxId, TaxName, Description, TaxValue FROM dbo.Taxes</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Taxes] SET [TaxName] = @TaxName, [Description] = @Description, [TaxValue] = @TaxValue WHERE (([TaxId] = @Original_TaxId) AND ([TaxName] = @Original_TaxName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([TaxValue] = @Original_TaxValue));
SELECT TaxId, TaxName, Description, TaxValue FROM Taxes WHERE (TaxId = @TaxId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TaxName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@TaxValue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_TaxId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TaxId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TaxName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TaxName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_TaxValue" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="TaxValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TaxId" ColumnName="TaxId" DataSourceName="obs_pos.dbo.Taxes" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@TaxId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="TaxId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TaxId" DataSetColumn="TaxId" />
              <Mapping SourceColumn="TaxName" DataSetColumn="TaxName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="TaxValue" DataSetColumn="TaxValue" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TransactionTypesTableAdapter" GeneratorDataComponentClassName="TransactionTypesTableAdapter" Name="TransactionTypes" UserDataComponentName="TransactionTypesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.TransactionTypes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[TransactionTypes] WHERE (([TransactionTypeId] = @Original_TransactionTypeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_TransactionTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[TransactionTypes] ([TransactionTypeId], [Name], [Description]) VALUES (@TransactionTypeId, @Name, @Description);
SELECT TransactionTypeId, Name, Description FROM TransactionTypes WHERE (TransactionTypeId = @TransactionTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@TransactionTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TransactionTypeId, Name, Description FROM dbo.TransactionTypes</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[TransactionTypes] SET [TransactionTypeId] = @TransactionTypeId, [Name] = @Name, [Description] = @Description WHERE (([TransactionTypeId] = @Original_TransactionTypeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)));
SELECT TransactionTypeId, Name, Description FROM TransactionTypes WHERE (TransactionTypeId = @TransactionTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@TransactionTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_TransactionTypeId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="TransactionTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TransactionTypeId" DataSetColumn="TransactionTypeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UnitOfMeasurementTableAdapter" GeneratorDataComponentClassName="UnitOfMeasurementTableAdapter" Name="UnitOfMeasurement" UserDataComponentName="UnitOfMeasurementTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.UnitOfMeasurement" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[UnitOfMeasurement] WHERE (([MeasurementId] = @Original_MeasurementId) AND ([MeasurementName] = @Original_MeasurementName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([ScaleFactor] = @Original_ScaleFactor))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MeasurementId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MeasurementName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MeasurementName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ScaleFactor" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ScaleFactor" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[UnitOfMeasurement] ([MeasurementName], [Description], [ScaleFactor]) VALUES (@MeasurementName, @Description, @ScaleFactor);
SELECT MeasurementId, MeasurementName, Description, ScaleFactor FROM UnitOfMeasurement WHERE (MeasurementId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MeasurementName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MeasurementName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ScaleFactor" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ScaleFactor" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT MeasurementId, MeasurementName, Description, ScaleFactor FROM dbo.UnitOfMeasurement</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[UnitOfMeasurement] SET [MeasurementName] = @MeasurementName, [Description] = @Description, [ScaleFactor] = @ScaleFactor WHERE (([MeasurementId] = @Original_MeasurementId) AND ([MeasurementName] = @Original_MeasurementName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([ScaleFactor] = @Original_ScaleFactor));
SELECT MeasurementId, MeasurementName, Description, ScaleFactor FROM UnitOfMeasurement WHERE (MeasurementId = @MeasurementId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MeasurementName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MeasurementName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ScaleFactor" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ScaleFactor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MeasurementId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MeasurementName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MeasurementName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ScaleFactor" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ScaleFactor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="MeasurementId" ColumnName="MeasurementId" DataSourceName="obs_pos.dbo.UnitOfMeasurement" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@MeasurementId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="MeasurementId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="MeasurementId" DataSetColumn="MeasurementId" />
              <Mapping SourceColumn="MeasurementName" DataSetColumn="MeasurementName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="ScaleFactor" DataSetColumn="ScaleFactor" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Users] WHERE (([UserId] = @Original_UserId) AND ([UserName] = @Original_UserName) AND ((@IsNull_Password = 1 AND [Password] IS NULL) OR ([Password] = @Original_Password)) AND ([IsLoggedIn] = @Original_IsLoggedIn) AND ((@IsNull_LastLoginActivity = 1 AND [LastLoginActivity] IS NULL) OR ([LastLoginActivity] = @Original_LastLoginActivity)) AND ((@IsNull_LastPasswordUpdate = 1 AND [LastPasswordUpdate] IS NULL) OR ([LastPasswordUpdate] = @Original_LastPasswordUpdate)) AND ((@IsNull_RoleId = 1 AND [RoleId] IS NULL) OR ([RoleId] = @Original_RoleId)) AND ((@IsNull_ShiftId = 1 AND [ShiftId] IS NULL) OR ([ShiftId] = @Original_ShiftId)) AND ((@IsNull_IsEnabled = 1 AND [IsEnabled] IS NULL) OR ([IsEnabled] = @Original_IsEnabled)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_UserId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="UserId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsLoggedIn" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsLoggedIn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastLoginActivity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastLoginActivity" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastLoginActivity" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLoginActivity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastPasswordUpdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastPasswordUpdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastPasswordUpdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastPasswordUpdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RoleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RoleId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ShiftId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ShiftId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsEnabled" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Users] ([UserName], [Password], [IsLoggedIn], [LastLoginActivity], [LastPasswordUpdate], [RoleId], [ShiftId], [IsEnabled]) VALUES (@UserName, @Password, @IsLoggedIn, @LastLoginActivity, @LastPasswordUpdate, @RoleId, @ShiftId, @IsEnabled);
SELECT UserId, UserName, Password, IsLoggedIn, LastLoginActivity, LastPasswordUpdate, RoleId, ShiftId, IsEnabled FROM Users WHERE (UserId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsLoggedIn" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsLoggedIn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastLoginActivity" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLoginActivity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastPasswordUpdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastPasswordUpdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@RoleId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ShiftId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT UserId, UserName, Password, IsLoggedIn, LastLoginActivity, LastPasswordUpdate, RoleId, ShiftId, IsEnabled FROM dbo.Users</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Users] SET [UserName] = @UserName, [Password] = @Password, [IsLoggedIn] = @IsLoggedIn, [LastLoginActivity] = @LastLoginActivity, [LastPasswordUpdate] = @LastPasswordUpdate, [RoleId] = @RoleId, [ShiftId] = @ShiftId, [IsEnabled] = @IsEnabled WHERE (([UserId] = @Original_UserId) AND ([UserName] = @Original_UserName) AND ((@IsNull_Password = 1 AND [Password] IS NULL) OR ([Password] = @Original_Password)) AND ([IsLoggedIn] = @Original_IsLoggedIn) AND ((@IsNull_LastLoginActivity = 1 AND [LastLoginActivity] IS NULL) OR ([LastLoginActivity] = @Original_LastLoginActivity)) AND ((@IsNull_LastPasswordUpdate = 1 AND [LastPasswordUpdate] IS NULL) OR ([LastPasswordUpdate] = @Original_LastPasswordUpdate)) AND ((@IsNull_RoleId = 1 AND [RoleId] IS NULL) OR ([RoleId] = @Original_RoleId)) AND ((@IsNull_ShiftId = 1 AND [ShiftId] IS NULL) OR ([ShiftId] = @Original_ShiftId)) AND ((@IsNull_IsEnabled = 1 AND [IsEnabled] IS NULL) OR ([IsEnabled] = @Original_IsEnabled)));
SELECT UserId, UserName, Password, IsLoggedIn, LastLoginActivity, LastPasswordUpdate, RoleId, ShiftId, IsEnabled FROM Users WHERE (UserId = @UserId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Password" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsLoggedIn" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsLoggedIn" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastLoginActivity" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLoginActivity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastPasswordUpdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastPasswordUpdate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@RoleId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ShiftId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_UserId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="UserId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_Password" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Password" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsLoggedIn" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsLoggedIn" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastLoginActivity" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastLoginActivity" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastLoginActivity" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLoginActivity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastPasswordUpdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastPasswordUpdate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastPasswordUpdate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastPasswordUpdate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RoleId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RoleId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RoleId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ShiftId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ShiftId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IsEnabled" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="UserId" ColumnName="UserId" DataSourceName="obs_pos.dbo.Users" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@UserId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="UserId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UserId" DataSetColumn="UserId" />
              <Mapping SourceColumn="UserName" DataSetColumn="UserName" />
              <Mapping SourceColumn="Password" DataSetColumn="Password" />
              <Mapping SourceColumn="IsLoggedIn" DataSetColumn="IsLoggedIn" />
              <Mapping SourceColumn="LastLoginActivity" DataSetColumn="LastLoginActivity" />
              <Mapping SourceColumn="LastPasswordUpdate" DataSetColumn="LastPasswordUpdate" />
              <Mapping SourceColumn="RoleId" DataSetColumn="RoleId" />
              <Mapping SourceColumn="ShiftId" DataSetColumn="ShiftId" />
              <Mapping SourceColumn="IsEnabled" DataSetColumn="IsEnabled" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ServicePointsTableAdapter" GeneratorDataComponentClassName="ServicePointsTableAdapter" Name="ServicePoints" UserDataComponentName="ServicePointsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.ServicePoints" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ServicePoints] WHERE (([ServicePointId] = @Original_ServicePointId) AND ((@IsNull_PointName = 1 AND [PointName] IS NULL) OR ([PointName] = @Original_PointName)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ServicePointId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ServicePointId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PointName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PointName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PointName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PointName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ServicePoints] ([ServicePointId], [PointName], [Description]) VALUES (@ServicePointId, @PointName, @Description);
SELECT ServicePointId, PointName, Description FROM ServicePoints WHERE (ServicePointId = @ServicePointId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@ServicePointId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ServicePointId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PointName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PointName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ServicePointId, PointName, Description FROM dbo.ServicePoints</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ServicePoints] SET [ServicePointId] = @ServicePointId, [PointName] = @PointName, [Description] = @Description WHERE (([ServicePointId] = @Original_ServicePointId) AND ((@IsNull_PointName = 1 AND [PointName] IS NULL) OR ([PointName] = @Original_PointName)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)));
SELECT ServicePointId, PointName, Description FROM ServicePoints WHERE (ServicePointId = @ServicePointId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@ServicePointId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ServicePointId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@PointName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PointName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ServicePointId" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ServicePointId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PointName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PointName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_PointName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="PointName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ServicePointId" DataSetColumn="ServicePointId" />
              <Mapping SourceColumn="PointName" DataSetColumn="PointName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PaymentModesTableAdapter" GeneratorDataComponentClassName="PaymentModesTableAdapter" Name="PaymentModes" UserDataComponentName="PaymentModesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.PaymentModes" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PaymentModes] WHERE (([ModeId] = @Original_ModeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([PaymentType] = @Original_PaymentType) AND ((@IsNull_IconIndex = 1 AND [IconIndex] IS NULL) OR ([IconIndex] = @Original_IconIndex)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PaymentType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IconIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IconIndex" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IconIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IconIndex" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PaymentModes] ([Name], [Description], [PaymentType], [IconIndex]) VALUES (@Name, @Description, @PaymentType, @IconIndex);
SELECT ModeId, Name, Description, PaymentType, IconIndex FROM PaymentModes WHERE (ModeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PaymentType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IconIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IconIndex" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ModeId, Name, Description, PaymentType, IconIndex FROM dbo.PaymentModes</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PaymentModes] SET [Name] = @Name, [Description] = @Description, [PaymentType] = @PaymentType, [IconIndex] = @IconIndex WHERE (([ModeId] = @Original_ModeId) AND ([Name] = @Original_Name) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([PaymentType] = @Original_PaymentType) AND ((@IsNull_IconIndex = 1 AND [IconIndex] IS NULL) OR ([IconIndex] = @Original_IconIndex)));
SELECT ModeId, Name, Description, PaymentType, IconIndex FROM PaymentModes WHERE (ModeId = @ModeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PaymentType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IconIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IconIndex" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ModeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PaymentType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PaymentType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IconIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IconIndex" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_IconIndex" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IconIndex" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ModeId" ColumnName="ModeId" DataSourceName="obs_pos.dbo.PaymentModes" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ModeId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ModeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ModeId" DataSetColumn="ModeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="PaymentType" DataSetColumn="PaymentType" />
              <Mapping SourceColumn="IconIndex" DataSetColumn="IconIndex" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ShiftsTableAdapter" GeneratorDataComponentClassName="ShiftsTableAdapter" Name="Shifts" UserDataComponentName="ShiftsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Shifts" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Shifts] WHERE (([ShiftId] = @Original_ShiftId) AND ([ShiftName] = @Original_ShiftName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ShiftId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ShiftName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShiftName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Shifts] ([ShiftName], [Description], [StartDate], [EndDate]) VALUES (@ShiftName, @Description, @StartDate, @EndDate);
SELECT ShiftId, ShiftName, Description, StartDate, EndDate FROM Shifts WHERE (ShiftId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ShiftName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShiftName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ShiftId, ShiftName, Description, StartDate, EndDate FROM dbo.Shifts</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Shifts] SET [ShiftName] = @ShiftName, [Description] = @Description, [StartDate] = @StartDate, [EndDate] = @EndDate WHERE (([ShiftId] = @Original_ShiftId) AND ([ShiftName] = @Original_ShiftName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)));
SELECT ShiftId, ShiftName, Description, StartDate, EndDate FROM Shifts WHERE (ShiftId = @ShiftId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ShiftName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShiftName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ShiftId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ShiftId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ShiftName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ShiftName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ShiftId" ColumnName="ShiftId" DataSourceName="obs_pos.dbo.Shifts" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ShiftId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ShiftId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ShiftId" DataSetColumn="ShiftId" />
              <Mapping SourceColumn="ShiftName" DataSetColumn="ShiftName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductsTableAdapter" GeneratorDataComponentClassName="ProductsTableAdapter" Name="Products" UserDataComponentName="ProductsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Products" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Products] WHERE (([ProductId] = @Original_ProductId) AND ([ProductCode] = @Original_ProductCode) AND ([ProductName] = @Original_ProductName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_MeasurementId = 1 AND [MeasurementId] IS NULL) OR ([MeasurementId] = @Original_MeasurementId)) AND ([ApplyVAT] = @Original_ApplyVAT) AND ([ApplyNHIL] = @Original_ApplyNHIL) AND ([UnitPrice] = @Original_UnitPrice) AND ([CostPrice] = @Original_CostPrice) AND ([UsedInSales] = @Original_UsedInSales) AND ([UsedInProduction] = @Original_UsedInProduction) AND ([MinLevel] = @Original_MinLevel) AND ([ReOrderLevel] = @Original_ReOrderLevel) AND ([UseIfNotInStock] = @Original_UseIfNotInStock))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MeasurementId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MeasurementId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ApplyVAT" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyVAT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ApplyNHIL" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyNHIL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CostPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UsedInSales" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInSales" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UsedInProduction" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInProduction" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_MinLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinLevel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_ReOrderLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ReOrderLevel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UseIfNotInStock" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseIfNotInStock" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Products] ([ProductCode], [ProductName], [Description], [MeasurementId], [ProductImage], [ApplyVAT], [ApplyNHIL], [UnitPrice], [CostPrice], [UsedInSales], [UsedInProduction], [MinLevel], [ReOrderLevel], [UseIfNotInStock]) VALUES (@ProductCode, @ProductName, @Description, @MeasurementId, @ProductImage, @ApplyVAT, @ApplyNHIL, @UnitPrice, @CostPrice, @UsedInSales, @UsedInProduction, @MinLevel, @ReOrderLevel, @UseIfNotInStock);
SELECT ProductId, ProductCode, ProductName, Description, MeasurementId, ProductImage, ApplyVAT, ApplyNHIL, UnitPrice, CostPrice, UsedInSales, UsedInProduction, MinLevel, ReOrderLevel, UseIfNotInStock FROM Products WHERE (ProductId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@MeasurementId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@ProductImage" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="ProductImage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ApplyVAT" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyVAT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ApplyNHIL" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyNHIL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CostPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UsedInSales" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInSales" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UsedInProduction" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInProduction" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@MinLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ReOrderLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ReOrderLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UseIfNotInStock" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseIfNotInStock" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, ProductCode, ProductName, Description, MeasurementId, ProductImage, ApplyVAT, ApplyNHIL, UnitPrice, CostPrice, UsedInSales, UsedInProduction, MinLevel, ReOrderLevel, UseIfNotInStock FROM dbo.Products</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Products] SET [ProductCode] = @ProductCode, [ProductName] = @ProductName, [Description] = @Description, [MeasurementId] = @MeasurementId, [ProductImage] = @ProductImage, [ApplyVAT] = @ApplyVAT, [ApplyNHIL] = @ApplyNHIL, [UnitPrice] = @UnitPrice, [CostPrice] = @CostPrice, [UsedInSales] = @UsedInSales, [UsedInProduction] = @UsedInProduction, [MinLevel] = @MinLevel, [ReOrderLevel] = @ReOrderLevel, [UseIfNotInStock] = @UseIfNotInStock WHERE (([ProductId] = @Original_ProductId) AND ([ProductCode] = @Original_ProductCode) AND ([ProductName] = @Original_ProductName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ((@IsNull_MeasurementId = 1 AND [MeasurementId] IS NULL) OR ([MeasurementId] = @Original_MeasurementId)) AND ([ApplyVAT] = @Original_ApplyVAT) AND ([ApplyNHIL] = @Original_ApplyNHIL) AND ([UnitPrice] = @Original_UnitPrice) AND ([CostPrice] = @Original_CostPrice) AND ([UsedInSales] = @Original_UsedInSales) AND ([UsedInProduction] = @Original_UsedInProduction) AND ([MinLevel] = @Original_MinLevel) AND ([ReOrderLevel] = @Original_ReOrderLevel) AND ([UseIfNotInStock] = @Original_UseIfNotInStock));
SELECT ProductId, ProductCode, ProductName, Description, MeasurementId, ProductImage, ApplyVAT, ApplyNHIL, UnitPrice, CostPrice, UsedInSales, UsedInProduction, MinLevel, ReOrderLevel, UseIfNotInStock FROM Products WHERE (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@MeasurementId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@ProductImage" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="ProductImage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ApplyVAT" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyVAT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ApplyNHIL" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyNHIL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CostPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UsedInSales" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInSales" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UsedInProduction" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInProduction" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@MinLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ReOrderLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ReOrderLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UseIfNotInStock" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseIfNotInStock" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductCode" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MeasurementId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MeasurementId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MeasurementId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ApplyVAT" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyVAT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ApplyNHIL" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ApplyNHIL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_UnitPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="UnitPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_CostPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="CostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UsedInSales" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInSales" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UsedInProduction" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UsedInProduction" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_MinLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="MinLevel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Original_ReOrderLevel" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ReOrderLevel" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UseIfNotInStock" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseIfNotInStock" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductId" ColumnName="ProductId" DataSourceName="obs_pos.dbo.Products" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="ProductCode" DataSetColumn="ProductCode" />
              <Mapping SourceColumn="ProductName" DataSetColumn="ProductName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="MeasurementId" DataSetColumn="MeasurementId" />
              <Mapping SourceColumn="ProductImage" DataSetColumn="ProductImage" />
              <Mapping SourceColumn="ApplyVAT" DataSetColumn="ApplyVAT" />
              <Mapping SourceColumn="ApplyNHIL" DataSetColumn="ApplyNHIL" />
              <Mapping SourceColumn="UnitPrice" DataSetColumn="UnitPrice" />
              <Mapping SourceColumn="CostPrice" DataSetColumn="CostPrice" />
              <Mapping SourceColumn="UsedInSales" DataSetColumn="UsedInSales" />
              <Mapping SourceColumn="UsedInProduction" DataSetColumn="UsedInProduction" />
              <Mapping SourceColumn="MinLevel" DataSetColumn="MinLevel" />
              <Mapping SourceColumn="ReOrderLevel" DataSetColumn="ReOrderLevel" />
              <Mapping SourceColumn="UseIfNotInStock" DataSetColumn="UseIfNotInStock" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CategoriesTableAdapter" GeneratorDataComponentClassName="CategoriesTableAdapter" Name="Categories" UserDataComponentName="CategoriesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Categories" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillCategories" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetCategories" GeneratorSourceName="FillCategories" GetMethodModifier="Public" GetMethodName="GetCategories" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetCategories" UserSourceName="FillCategories">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Categories] WHERE (([CategoryId] = @Original_CategoryId) AND ([ParentId] = @Original_ParentId) AND ([CategoryName] = @Original_CategoryName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CategoryId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ParentId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ParentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CategoryName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Categories] ([ParentId], [CategoryName], [Description], [CategoryImage]) VALUES (@ParentId, @CategoryName, @Description, @CategoryImage);
SELECT CategoryId, ParentId, CategoryName, Description, CategoryImage FROM Categories WHERE (CategoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ParentId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ParentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CategoryName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@CategoryImage" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="CategoryImage" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        CategoryId, ParentId, CategoryName, Description, CategoryImage
FROM            Categories</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Categories] SET [ParentId] = @ParentId, [CategoryName] = @CategoryName, [Description] = @Description, [CategoryImage] = @CategoryImage WHERE (([CategoryId] = @Original_CategoryId) AND ([ParentId] = @Original_ParentId) AND ([CategoryName] = @Original_CategoryName) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)));
SELECT CategoryId, ParentId, CategoryName, Description, CategoryImage FROM Categories WHERE (CategoryId = @CategoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ParentId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ParentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CategoryName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@CategoryImage" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="CategoryImage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CategoryId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ParentId" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ParentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CategoryName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CategoryName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CategoryId" ColumnName="CategoryId" DataSourceName="obs_pos.dbo.Categories" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@CategoryId" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="CategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CategoryId" DataSetColumn="CategoryId" />
              <Mapping SourceColumn="ParentId" DataSetColumn="ParentId" />
              <Mapping SourceColumn="CategoryName" DataSetColumn="CategoryName" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="CategoryImage" DataSetColumn="CategoryImage" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.Categories" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillCategoriesExempt" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetCategoriesExempt" GeneratorSourceName="FillCategoriesExempt" GetMethodModifier="Public" GetMethodName="GetCategoriesExempt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetCategoriesExempt" UserSourceName="FillCategoriesExempt">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT CategoryId, CategoryImage, CategoryName, Description, ParentId FROM Categories WHERE (CategoryId NOT IN (@CategoryId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="CategoryId" ColumnName="" DataSourceName="" DataTypeServer="unknown" DbType="Int32" Direction="Input" ParameterName="@CategoryId" Precision="0" Scale="0" Size="0" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
          <DbSource ConnectionRef="obs_posConnectionString (Settings)" DbObjectName="obs_pos.dbo.rptProdCurrentStock" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="rptProdCurrentStock" MethodsParameterType="CLR" Modifier="Public" Name="rptProdCurrentStock" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="rptProdCurrentStock">
            <SelectCommand>
              <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                <CommandText>dbo.rptProdCurrentStock</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="PosData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="PosData" msprop:Generator_DataSetName="PosData" msprop:EnableTableAdapterManager="True">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="AppSettings" msprop:Generator_UserTableName="AppSettings" msprop:Generator_RowDeletedName="AppSettingsRowDeleted" msprop:Generator_RowChangedName="AppSettingsRowChanged" msprop:Generator_RowClassName="AppSettingsRow" msprop:Generator_RowChangingName="AppSettingsRowChanging" msprop:Generator_RowEvArgName="AppSettingsRowChangeEvent" msprop:Generator_RowEvHandlerName="AppSettingsRowChangeEventHandler" msprop:Generator_TableClassName="AppSettingsDataTable" msprop:Generator_TableVarName="tableAppSettings" msprop:Generator_RowDeletingName="AppSettingsRowDeleting" msprop:Generator_TablePropName="AppSettings">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AppSettingId" msprop:Generator_UserColumnName="AppSettingId" msprop:Generator_ColumnVarNameInTable="columnAppSettingId" msprop:Generator_ColumnPropNameInRow="AppSettingId" msprop:Generator_ColumnPropNameInTable="AppSettingIdColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SettingName" msprop:Generator_UserColumnName="SettingName" msprop:Generator_ColumnVarNameInTable="columnSettingName" msprop:Generator_ColumnPropNameInRow="SettingName" msprop:Generator_ColumnPropNameInTable="SettingNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SettingValue" msprop:Generator_UserColumnName="SettingValue" msprop:Generator_ColumnVarNameInTable="columnSettingValue" msprop:Generator_ColumnPropNameInRow="SettingValue" msprop:Generator_ColumnPropNameInTable="SettingValueColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Currencies" msprop:Generator_UserTableName="Currencies" msprop:Generator_RowDeletedName="CurrenciesRowDeleted" msprop:Generator_RowChangedName="CurrenciesRowChanged" msprop:Generator_RowClassName="CurrenciesRow" msprop:Generator_RowChangingName="CurrenciesRowChanging" msprop:Generator_RowEvArgName="CurrenciesRowChangeEvent" msprop:Generator_RowEvHandlerName="CurrenciesRowChangeEventHandler" msprop:Generator_TableClassName="CurrenciesDataTable" msprop:Generator_TableVarName="tableCurrencies" msprop:Generator_RowDeletingName="CurrenciesRowDeleting" msprop:Generator_TablePropName="Currencies">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CurrencyId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CurrencyId" msprop:Generator_ColumnVarNameInTable="columnCurrencyId" msprop:Generator_ColumnPropNameInRow="CurrencyId" msprop:Generator_ColumnPropNameInTable="CurrencyIdColumn" type="xs:int" />
              <xs:element name="CurrencyName" msprop:Generator_UserColumnName="CurrencyName" msprop:Generator_ColumnVarNameInTable="columnCurrencyName" msprop:Generator_ColumnPropNameInRow="CurrencyName" msprop:Generator_ColumnPropNameInTable="CurrencyNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Symbol" msprop:Generator_UserColumnName="Symbol" msprop:Generator_ColumnVarNameInTable="columnSymbol" msprop:Generator_ColumnPropNameInRow="Symbol" msprop:Generator_ColumnPropNameInTable="SymbolColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="5" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerOuts" msprop:Generator_UserTableName="CustomerOuts" msprop:Generator_RowDeletedName="CustomerOutsRowDeleted" msprop:Generator_RowChangedName="CustomerOutsRowChanged" msprop:Generator_RowClassName="CustomerOutsRow" msprop:Generator_RowChangingName="CustomerOutsRowChanging" msprop:Generator_RowEvArgName="CustomerOutsRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerOutsRowChangeEventHandler" msprop:Generator_TableClassName="CustomerOutsDataTable" msprop:Generator_TableVarName="tableCustomerOuts" msprop:Generator_RowDeletingName="CustomerOutsRowDeleting" msprop:Generator_TablePropName="CustomerOuts">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerOutId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CustomerOutId" msprop:Generator_ColumnVarNameInTable="columnCustomerOutId" msprop:Generator_ColumnPropNameInRow="CustomerOutId" msprop:Generator_ColumnPropNameInTable="CustomerOutIdColumn" type="xs:long" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Memo" msprop:Generator_UserColumnName="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_ColumnPropNameInTable="MemoColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Amount" msprop:Generator_UserColumnName="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" type="xs:decimal" />
              <xs:element name="PostDate" msprop:Generator_UserColumnName="PostDate" msprop:Generator_ColumnVarNameInTable="columnPostDate" msprop:Generator_ColumnPropNameInRow="PostDate" msprop:Generator_ColumnPropNameInTable="PostDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Customers" msprop:Generator_UserTableName="Customers" msprop:Generator_RowDeletedName="CustomersRowDeleted" msprop:Generator_RowChangedName="CustomersRowChanged" msprop:Generator_RowClassName="CustomersRow" msprop:Generator_RowChangingName="CustomersRowChanging" msprop:Generator_RowEvArgName="CustomersRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomersRowChangeEventHandler" msprop:Generator_TableClassName="CustomersDataTable" msprop:Generator_TableVarName="tableCustomers" msprop:Generator_RowDeletingName="CustomersRowDeleting" msprop:Generator_TablePropName="Customers">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:long" />
              <xs:element name="CustomerName" msprop:Generator_UserColumnName="CustomerName" msprop:Generator_ColumnVarNameInTable="columnCustomerName" msprop:Generator_ColumnPropNameInRow="CustomerName" msprop:Generator_ColumnPropNameInTable="CustomerNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PaymentModeId" msprop:Generator_UserColumnName="PaymentModeId" msprop:Generator_ColumnVarNameInTable="columnPaymentModeId" msprop:Generator_ColumnPropNameInRow="PaymentModeId" msprop:Generator_ColumnPropNameInTable="PaymentModeIdColumn" type="xs:long" />
              <xs:element name="Address" msprop:Generator_UserColumnName="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Email" msprop:Generator_UserColumnName="Email" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactFirstName" msprop:Generator_UserColumnName="ContactFirstName" msprop:Generator_ColumnVarNameInTable="columnContactFirstName" msprop:Generator_ColumnPropNameInRow="ContactFirstName" msprop:Generator_ColumnPropNameInTable="ContactFirstNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactLastName" msprop:Generator_UserColumnName="ContactLastName" msprop:Generator_ColumnVarNameInTable="columnContactLastName" msprop:Generator_ColumnPropNameInRow="ContactLastName" msprop:Generator_ColumnPropNameInTable="ContactLastNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactPhone" msprop:Generator_UserColumnName="ContactPhone" msprop:Generator_ColumnVarNameInTable="columnContactPhone" msprop:Generator_ColumnPropNameInRow="ContactPhone" msprop:Generator_ColumnPropNameInTable="ContactPhoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactEmail" msprop:Generator_UserColumnName="ContactEmail" msprop:Generator_ColumnVarNameInTable="columnContactEmail" msprop:Generator_ColumnPropNameInRow="ContactEmail" msprop:Generator_ColumnPropNameInTable="ContactEmailColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactAddress" msprop:Generator_UserColumnName="ContactAddress" msprop:Generator_ColumnVarNameInTable="columnContactAddress" msprop:Generator_ColumnPropNameInRow="ContactAddress" msprop:Generator_ColumnPropNameInTable="ContactAddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MinBalance" msprop:Generator_UserColumnName="MinBalance" msprop:Generator_ColumnVarNameInTable="columnMinBalance" msprop:Generator_ColumnPropNameInRow="MinBalance" msprop:Generator_ColumnPropNameInTable="MinBalanceColumn" type="xs:decimal" />
              <xs:element name="MinCredit" msprop:Generator_UserColumnName="MinCredit" msprop:Generator_ColumnVarNameInTable="columnMinCredit" msprop:Generator_ColumnPropNameInRow="MinCredit" msprop:Generator_ColumnPropNameInTable="MinCreditColumn" type="xs:decimal" />
              <xs:element name="OpenBalance" msprop:Generator_UserColumnName="OpenBalance" msprop:Generator_ColumnVarNameInTable="columnOpenBalance" msprop:Generator_ColumnPropNameInRow="OpenBalance" msprop:Generator_ColumnPropNameInTable="OpenBalanceColumn" type="xs:decimal" />
              <xs:element name="CreatedOn" msprop:Generator_UserColumnName="CreatedOn" msprop:Generator_ColumnVarNameInTable="columnCreatedOn" msprop:Generator_ColumnPropNameInRow="CreatedOn" msprop:Generator_ColumnPropNameInTable="CreatedOnColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="CreatedBy" msprop:Generator_UserColumnName="CreatedBy" msprop:Generator_ColumnVarNameInTable="columnCreatedBy" msprop:Generator_ColumnPropNameInRow="CreatedBy" msprop:Generator_ColumnPropNameInTable="CreatedByColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedOn" msprop:Generator_UserColumnName="ModifiedOn" msprop:Generator_ColumnVarNameInTable="columnModifiedOn" msprop:Generator_ColumnPropNameInRow="ModifiedOn" msprop:Generator_ColumnPropNameInTable="ModifiedOnColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Locations" msprop:Generator_UserTableName="Locations" msprop:Generator_RowDeletedName="LocationsRowDeleted" msprop:Generator_RowChangedName="LocationsRowChanged" msprop:Generator_RowClassName="LocationsRow" msprop:Generator_RowChangingName="LocationsRowChanging" msprop:Generator_RowEvArgName="LocationsRowChangeEvent" msprop:Generator_RowEvHandlerName="LocationsRowChangeEventHandler" msprop:Generator_TableClassName="LocationsDataTable" msprop:Generator_TableVarName="tableLocations" msprop:Generator_RowDeletingName="LocationsRowDeleting" msprop:Generator_TablePropName="Locations">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LocationId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="LocationId" msprop:Generator_ColumnVarNameInTable="columnLocationId" msprop:Generator_ColumnPropNameInRow="LocationId" msprop:Generator_ColumnPropNameInTable="LocationIdColumn" type="xs:long" />
              <xs:element name="LocationName" msprop:Generator_UserColumnName="LocationName" msprop:Generator_ColumnVarNameInTable="columnLocationName" msprop:Generator_ColumnPropNameInRow="LocationName" msprop:Generator_ColumnPropNameInTable="LocationNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address" msprop:Generator_UserColumnName="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactName" msprop:Generator_UserColumnName="ContactName" msprop:Generator_ColumnVarNameInTable="columnContactName" msprop:Generator_ColumnPropNameInRow="ContactName" msprop:Generator_ColumnPropNameInTable="ContactNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactPhone" msprop:Generator_UserColumnName="ContactPhone" msprop:Generator_ColumnVarNameInTable="columnContactPhone" msprop:Generator_ColumnPropNameInRow="ContactPhone" msprop:Generator_ColumnPropNameInTable="ContactPhoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactEmail" msprop:Generator_UserColumnName="ContactEmail" msprop:Generator_ColumnVarNameInTable="columnContactEmail" msprop:Generator_ColumnPropNameInRow="ContactEmail" msprop:Generator_ColumnPropNameInTable="ContactEmailColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PaymentTypes" msprop:Generator_UserTableName="PaymentTypes" msprop:Generator_RowDeletedName="PaymentTypesRowDeleted" msprop:Generator_RowChangedName="PaymentTypesRowChanged" msprop:Generator_RowClassName="PaymentTypesRow" msprop:Generator_RowChangingName="PaymentTypesRowChanging" msprop:Generator_RowEvArgName="PaymentTypesRowChangeEvent" msprop:Generator_RowEvHandlerName="PaymentTypesRowChangeEventHandler" msprop:Generator_TableClassName="PaymentTypesDataTable" msprop:Generator_TableVarName="tablePaymentTypes" msprop:Generator_RowDeletingName="PaymentTypesRowDeleting" msprop:Generator_TablePropName="PaymentTypes">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PaymentTypeId" msprop:Generator_UserColumnName="PaymentTypeId" msprop:Generator_ColumnVarNameInTable="columnPaymentTypeId" msprop:Generator_ColumnPropNameInRow="PaymentTypeId" msprop:Generator_ColumnPropNameInTable="PaymentTypeIdColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PayTrans" msprop:Generator_UserTableName="PayTrans" msprop:Generator_RowDeletedName="PayTransRowDeleted" msprop:Generator_RowChangedName="PayTransRowChanged" msprop:Generator_RowClassName="PayTransRow" msprop:Generator_RowChangingName="PayTransRowChanging" msprop:Generator_RowEvArgName="PayTransRowChangeEvent" msprop:Generator_RowEvHandlerName="PayTransRowChangeEventHandler" msprop:Generator_TableClassName="PayTransDataTable" msprop:Generator_TableVarName="tablePayTrans" msprop:Generator_RowDeletingName="PayTransRowDeleting" msprop:Generator_TablePropName="PayTrans">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TransactionId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="TransactionId" msprop:Generator_ColumnVarNameInTable="columnTransactionId" msprop:Generator_ColumnPropNameInRow="TransactionId" msprop:Generator_ColumnPropNameInTable="TransactionIdColumn" type="xs:string" />
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:long" />
              <xs:element name="Memo" msprop:Generator_UserColumnName="Memo" msprop:Generator_ColumnVarNameInTable="columnMemo" msprop:Generator_ColumnPropNameInRow="Memo" msprop:Generator_ColumnPropNameInTable="MemoColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TransactionType" msprop:Generator_UserColumnName="TransactionType" msprop:Generator_ColumnVarNameInTable="columnTransactionType" msprop:Generator_ColumnPropNameInRow="TransactionType" msprop:Generator_ColumnPropNameInTable="TransactionTypeColumn" type="xs:short" />
              <xs:element name="CurrencyId" msprop:Generator_UserColumnName="CurrencyId" msprop:Generator_ColumnVarNameInTable="columnCurrencyId" msprop:Generator_ColumnPropNameInRow="CurrencyId" msprop:Generator_ColumnPropNameInTable="CurrencyIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="PaymentModeId" msprop:Generator_UserColumnName="PaymentModeId" msprop:Generator_ColumnVarNameInTable="columnPaymentModeId" msprop:Generator_ColumnPropNameInRow="PaymentModeId" msprop:Generator_ColumnPropNameInTable="PaymentModeIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="CardNum" msprop:Generator_UserColumnName="CardNum" msprop:Generator_ColumnVarNameInTable="columnCardNum" msprop:Generator_ColumnPropNameInRow="CardNum" msprop:Generator_ColumnPropNameInTable="CardNumColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CardExpiryDate" msprop:Generator_UserColumnName="CardExpiryDate" msprop:Generator_ColumnVarNameInTable="columnCardExpiryDate" msprop:Generator_ColumnPropNameInRow="CardExpiryDate" msprop:Generator_ColumnPropNameInTable="CardExpiryDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Amount" msprop:Generator_UserColumnName="Amount" msprop:Generator_ColumnVarNameInTable="columnAmount" msprop:Generator_ColumnPropNameInRow="Amount" msprop:Generator_ColumnPropNameInTable="AmountColumn" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Periods" msprop:Generator_UserTableName="Periods" msprop:Generator_RowDeletedName="PeriodsRowDeleted" msprop:Generator_RowChangedName="PeriodsRowChanged" msprop:Generator_RowClassName="PeriodsRow" msprop:Generator_RowChangingName="PeriodsRowChanging" msprop:Generator_RowEvArgName="PeriodsRowChangeEvent" msprop:Generator_RowEvHandlerName="PeriodsRowChangeEventHandler" msprop:Generator_TableClassName="PeriodsDataTable" msprop:Generator_TableVarName="tablePeriods" msprop:Generator_RowDeletingName="PeriodsRowDeleting" msprop:Generator_TablePropName="Periods">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PeriodId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PeriodId" msprop:Generator_ColumnVarNameInTable="columnPeriodId" msprop:Generator_ColumnPropNameInRow="PeriodId" msprop:Generator_ColumnPropNameInTable="PeriodIdColumn" type="xs:long" />
              <xs:element name="PeriodName" msprop:Generator_UserColumnName="PeriodName" msprop:Generator_ColumnVarNameInTable="columnPeriodName" msprop:Generator_ColumnPropNameInRow="PeriodName" msprop:Generator_ColumnPropNameInTable="PeriodNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Year" msprop:Generator_UserColumnName="Year" msprop:Generator_ColumnVarNameInTable="columnYear" msprop:Generator_ColumnPropNameInRow="Year" msprop:Generator_ColumnPropNameInTable="YearColumn" type="xs:int" minOccurs="0" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductCategories" msprop:Generator_UserTableName="ProductCategories" msprop:Generator_RowDeletedName="ProductCategoriesRowDeleted" msprop:Generator_RowChangedName="ProductCategoriesRowChanged" msprop:Generator_RowClassName="ProductCategoriesRow" msprop:Generator_RowChangingName="ProductCategoriesRowChanging" msprop:Generator_RowEvArgName="ProductCategoriesRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductCategoriesRowChangeEventHandler" msprop:Generator_TableClassName="ProductCategoriesDataTable" msprop:Generator_TableVarName="tableProductCategories" msprop:Generator_RowDeletingName="ProductCategoriesRowDeleting" msprop:Generator_TablePropName="ProductCategories">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:long" />
              <xs:element name="CategoryId" msprop:Generator_UserColumnName="CategoryId" msprop:Generator_ColumnVarNameInTable="columnCategoryId" msprop:Generator_ColumnPropNameInRow="CategoryId" msprop:Generator_ColumnPropNameInTable="CategoryIdColumn" type="xs:long" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductStock" msprop:Generator_UserTableName="ProductStock" msprop:Generator_RowDeletedName="ProductStockRowDeleted" msprop:Generator_RowChangedName="ProductStockRowChanged" msprop:Generator_RowClassName="ProductStockRow" msprop:Generator_RowChangingName="ProductStockRowChanging" msprop:Generator_RowEvArgName="ProductStockRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductStockRowChangeEventHandler" msprop:Generator_TableClassName="ProductStockDataTable" msprop:Generator_TableVarName="tableProductStock" msprop:Generator_RowDeletingName="ProductStockRowDeleting" msprop:Generator_TablePropName="ProductStock">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StockId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="StockId" msprop:Generator_ColumnVarNameInTable="columnStockId" msprop:Generator_ColumnPropNameInRow="StockId" msprop:Generator_ColumnPropNameInTable="StockIdColumn" type="xs:long" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:long" />
              <xs:element name="PeriodId" msprop:Generator_UserColumnName="PeriodId" msprop:Generator_ColumnVarNameInTable="columnPeriodId" msprop:Generator_ColumnPropNameInRow="PeriodId" msprop:Generator_ColumnPropNameInTable="PeriodIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="TargetLocationId" msprop:Generator_UserColumnName="TargetLocationId" msprop:Generator_ColumnVarNameInTable="columnTargetLocationId" msprop:Generator_ColumnPropNameInRow="TargetLocationId" msprop:Generator_ColumnPropNameInTable="TargetLocationIdColumn" type="xs:long" />
              <xs:element name="SourceLocationId" msprop:Generator_UserColumnName="SourceLocationId" msprop:Generator_ColumnVarNameInTable="columnSourceLocationId" msprop:Generator_ColumnPropNameInRow="SourceLocationId" msprop:Generator_ColumnPropNameInTable="SourceLocationIdColumn" type="xs:long" />
              <xs:element name="Quantity" msprop:Generator_UserColumnName="Quantity" msprop:Generator_ColumnVarNameInTable="columnQuantity" msprop:Generator_ColumnPropNameInRow="Quantity" msprop:Generator_ColumnPropNameInTable="QuantityColumn" type="xs:decimal" />
              <xs:element name="StockType" msprop:Generator_UserColumnName="StockType" msprop:Generator_ColumnVarNameInTable="columnStockType" msprop:Generator_ColumnPropNameInRow="StockType" msprop:Generator_ColumnPropNameInTable="StockTypeColumn" type="xs:short" />
              <xs:element name="StockDate" msprop:Generator_UserColumnName="StockDate" msprop:Generator_ColumnVarNameInTable="columnStockDate" msprop:Generator_ColumnPropNameInRow="StockDate" msprop:Generator_ColumnPropNameInTable="StockDateColumn" type="xs:dateTime" />
              <xs:element name="IsFrozen" msprop:Generator_UserColumnName="IsFrozen" msprop:Generator_ColumnVarNameInTable="columnIsFrozen" msprop:Generator_ColumnPropNameInRow="IsFrozen" msprop:Generator_ColumnPropNameInTable="IsFrozenColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductSuppliers" msprop:Generator_UserTableName="ProductSuppliers" msprop:Generator_RowDeletedName="ProductSuppliersRowDeleted" msprop:Generator_RowChangedName="ProductSuppliersRowChanged" msprop:Generator_RowClassName="ProductSuppliersRow" msprop:Generator_RowChangingName="ProductSuppliersRowChanging" msprop:Generator_RowEvArgName="ProductSuppliersRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductSuppliersRowChangeEventHandler" msprop:Generator_TableClassName="ProductSuppliersDataTable" msprop:Generator_TableVarName="tableProductSuppliers" msprop:Generator_RowDeletingName="ProductSuppliersRowDeleting" msprop:Generator_TablePropName="ProductSuppliers">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SupplyId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SupplyId" msprop:Generator_ColumnVarNameInTable="columnSupplyId" msprop:Generator_ColumnPropNameInRow="SupplyId" msprop:Generator_ColumnPropNameInTable="SupplyIdColumn" type="xs:long" />
              <xs:element name="SupplierId" msprop:Generator_UserColumnName="SupplierId" msprop:Generator_ColumnVarNameInTable="columnSupplierId" msprop:Generator_ColumnPropNameInRow="SupplierId" msprop:Generator_ColumnPropNameInTable="SupplierIdColumn" type="xs:long" />
              <xs:element name="ProductIId" msprop:Generator_UserColumnName="ProductIId" msprop:Generator_ColumnVarNameInTable="columnProductIId" msprop:Generator_ColumnPropNameInRow="ProductIId" msprop:Generator_ColumnPropNameInTable="ProductIIdColumn" type="xs:long" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Roles" msprop:Generator_UserTableName="Roles" msprop:Generator_RowDeletedName="RolesRowDeleted" msprop:Generator_RowChangedName="RolesRowChanged" msprop:Generator_RowClassName="RolesRow" msprop:Generator_RowChangingName="RolesRowChanging" msprop:Generator_RowEvArgName="RolesRowChangeEvent" msprop:Generator_RowEvHandlerName="RolesRowChangeEventHandler" msprop:Generator_TableClassName="RolesDataTable" msprop:Generator_TableVarName="tableRoles" msprop:Generator_RowDeletingName="RolesRowDeleting" msprop:Generator_TablePropName="Roles">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RoleId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="RoleId" msprop:Generator_ColumnVarNameInTable="columnRoleId" msprop:Generator_ColumnPropNameInRow="RoleId" msprop:Generator_ColumnPropNameInTable="RoleIdColumn" type="xs:long" />
              <xs:element name="RoleName" msprop:Generator_UserColumnName="RoleName" msprop:Generator_ColumnVarNameInTable="columnRoleName" msprop:Generator_ColumnPropNameInRow="RoleName" msprop:Generator_ColumnPropNameInTable="RoleNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AccessList" msprop:Generator_UserColumnName="AccessList" msprop:Generator_ColumnVarNameInTable="columnAccessList" msprop:Generator_ColumnPropNameInRow="AccessList" msprop:Generator_ColumnPropNameInTable="AccessListColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="StockCount" msprop:Generator_UserTableName="StockCount" msprop:Generator_RowDeletedName="StockCountRowDeleted" msprop:Generator_RowChangedName="StockCountRowChanged" msprop:Generator_RowClassName="StockCountRow" msprop:Generator_RowChangingName="StockCountRowChanging" msprop:Generator_RowEvArgName="StockCountRowChangeEvent" msprop:Generator_RowEvHandlerName="StockCountRowChangeEventHandler" msprop:Generator_TableClassName="StockCountDataTable" msprop:Generator_TableVarName="tableStockCount" msprop:Generator_RowDeletingName="StockCountRowDeleting" msprop:Generator_TablePropName="StockCount">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CountId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CountId" msprop:Generator_ColumnVarNameInTable="columnCountId" msprop:Generator_ColumnPropNameInRow="CountId" msprop:Generator_ColumnPropNameInTable="CountIdColumn" type="xs:long" />
              <xs:element name="PeriodId" msprop:Generator_UserColumnName="PeriodId" msprop:Generator_ColumnVarNameInTable="columnPeriodId" msprop:Generator_ColumnPropNameInRow="PeriodId" msprop:Generator_ColumnPropNameInTable="PeriodIdColumn" type="xs:long" />
              <xs:element name="ProductId" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:long" />
              <xs:element name="CountedQuantity" msprop:Generator_UserColumnName="CountedQuantity" msprop:Generator_ColumnVarNameInTable="columnCountedQuantity" msprop:Generator_ColumnPropNameInRow="CountedQuantity" msprop:Generator_ColumnPropNameInTable="CountedQuantityColumn" type="xs:decimal" />
              <xs:element name="SystemQuantity" msprop:Generator_UserColumnName="SystemQuantity" msprop:Generator_ColumnVarNameInTable="columnSystemQuantity" msprop:Generator_ColumnPropNameInRow="SystemQuantity" msprop:Generator_ColumnPropNameInTable="SystemQuantityColumn" type="xs:decimal" />
              <xs:element name="CountedStockDate" msprop:Generator_UserColumnName="CountedStockDate" msprop:Generator_ColumnVarNameInTable="columnCountedStockDate" msprop:Generator_ColumnPropNameInRow="CountedStockDate" msprop:Generator_ColumnPropNameInTable="CountedStockDateColumn" type="xs:dateTime" />
              <xs:element name="SystemStockDate" msprop:Generator_UserColumnName="SystemStockDate" msprop:Generator_ColumnVarNameInTable="columnSystemStockDate" msprop:Generator_ColumnPropNameInRow="SystemStockDate" msprop:Generator_ColumnPropNameInTable="SystemStockDateColumn" type="xs:dateTime" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="StockTypes" msprop:Generator_UserTableName="StockTypes" msprop:Generator_RowDeletedName="StockTypesRowDeleted" msprop:Generator_RowChangedName="StockTypesRowChanged" msprop:Generator_RowClassName="StockTypesRow" msprop:Generator_RowChangingName="StockTypesRowChanging" msprop:Generator_RowEvArgName="StockTypesRowChangeEvent" msprop:Generator_RowEvHandlerName="StockTypesRowChangeEventHandler" msprop:Generator_TableClassName="StockTypesDataTable" msprop:Generator_TableVarName="tableStockTypes" msprop:Generator_RowDeletingName="StockTypesRowDeleting" msprop:Generator_TablePropName="StockTypes">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StockTypeId" msprop:Generator_UserColumnName="StockTypeId" msprop:Generator_ColumnVarNameInTable="columnStockTypeId" msprop:Generator_ColumnPropNameInRow="StockTypeId" msprop:Generator_ColumnPropNameInTable="StockTypeIdColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Suppliers" msprop:Generator_UserTableName="Suppliers" msprop:Generator_RowDeletedName="SuppliersRowDeleted" msprop:Generator_RowChangedName="SuppliersRowChanged" msprop:Generator_RowClassName="SuppliersRow" msprop:Generator_RowChangingName="SuppliersRowChanging" msprop:Generator_RowEvArgName="SuppliersRowChangeEvent" msprop:Generator_RowEvHandlerName="SuppliersRowChangeEventHandler" msprop:Generator_TableClassName="SuppliersDataTable" msprop:Generator_TableVarName="tableSuppliers" msprop:Generator_RowDeletingName="SuppliersRowDeleting" msprop:Generator_TablePropName="Suppliers">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SupplierId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SupplierId" msprop:Generator_ColumnVarNameInTable="columnSupplierId" msprop:Generator_ColumnPropNameInRow="SupplierId" msprop:Generator_ColumnPropNameInTable="SupplierIdColumn" type="xs:long" />
              <xs:element name="SupplierName" msprop:Generator_UserColumnName="SupplierName" msprop:Generator_ColumnVarNameInTable="columnSupplierName" msprop:Generator_ColumnPropNameInRow="SupplierName" msprop:Generator_ColumnPropNameInTable="SupplierNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address" msprop:Generator_UserColumnName="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactFirstName" msprop:Generator_UserColumnName="ContactFirstName" msprop:Generator_ColumnVarNameInTable="columnContactFirstName" msprop:Generator_ColumnPropNameInRow="ContactFirstName" msprop:Generator_ColumnPropNameInTable="ContactFirstNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactLastName" msprop:Generator_UserColumnName="ContactLastName" msprop:Generator_ColumnVarNameInTable="columnContactLastName" msprop:Generator_ColumnPropNameInRow="ContactLastName" msprop:Generator_ColumnPropNameInTable="ContactLastNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactPhone" msprop:Generator_UserColumnName="ContactPhone" msprop:Generator_ColumnVarNameInTable="columnContactPhone" msprop:Generator_ColumnPropNameInRow="ContactPhone" msprop:Generator_ColumnPropNameInTable="ContactPhoneColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactEmail" msprop:Generator_UserColumnName="ContactEmail" msprop:Generator_ColumnVarNameInTable="columnContactEmail" msprop:Generator_ColumnPropNameInRow="ContactEmail" msprop:Generator_ColumnPropNameInTable="ContactEmailColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ContactAddress" msprop:Generator_UserColumnName="ContactAddress" msprop:Generator_ColumnVarNameInTable="columnContactAddress" msprop:Generator_ColumnPropNameInRow="ContactAddress" msprop:Generator_ColumnPropNameInTable="ContactAddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Taxes" msprop:Generator_UserTableName="Taxes" msprop:Generator_RowDeletedName="TaxesRowDeleted" msprop:Generator_RowChangedName="TaxesRowChanged" msprop:Generator_RowClassName="TaxesRow" msprop:Generator_RowChangingName="TaxesRowChanging" msprop:Generator_RowEvArgName="TaxesRowChangeEvent" msprop:Generator_RowEvHandlerName="TaxesRowChangeEventHandler" msprop:Generator_TableClassName="TaxesDataTable" msprop:Generator_TableVarName="tableTaxes" msprop:Generator_RowDeletingName="TaxesRowDeleting" msprop:Generator_TablePropName="Taxes">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TaxId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="TaxId" msprop:Generator_ColumnVarNameInTable="columnTaxId" msprop:Generator_ColumnPropNameInRow="TaxId" msprop:Generator_ColumnPropNameInTable="TaxIdColumn" type="xs:long" />
              <xs:element name="TaxName" msprop:Generator_UserColumnName="TaxName" msprop:Generator_ColumnVarNameInTable="columnTaxName" msprop:Generator_ColumnPropNameInRow="TaxName" msprop:Generator_ColumnPropNameInTable="TaxNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TaxValue" msprop:Generator_UserColumnName="TaxValue" msprop:Generator_ColumnVarNameInTable="columnTaxValue" msprop:Generator_ColumnPropNameInRow="TaxValue" msprop:Generator_ColumnPropNameInTable="TaxValueColumn" type="xs:decimal" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TransactionTypes" msprop:Generator_UserTableName="TransactionTypes" msprop:Generator_RowDeletedName="TransactionTypesRowDeleted" msprop:Generator_RowChangedName="TransactionTypesRowChanged" msprop:Generator_RowClassName="TransactionTypesRow" msprop:Generator_RowChangingName="TransactionTypesRowChanging" msprop:Generator_RowEvArgName="TransactionTypesRowChangeEvent" msprop:Generator_RowEvHandlerName="TransactionTypesRowChangeEventHandler" msprop:Generator_TableClassName="TransactionTypesDataTable" msprop:Generator_TableVarName="tableTransactionTypes" msprop:Generator_RowDeletingName="TransactionTypesRowDeleting" msprop:Generator_TablePropName="TransactionTypes">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TransactionTypeId" msprop:Generator_UserColumnName="TransactionTypeId" msprop:Generator_ColumnVarNameInTable="columnTransactionTypeId" msprop:Generator_ColumnPropNameInRow="TransactionTypeId" msprop:Generator_ColumnPropNameInTable="TransactionTypeIdColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="UnitOfMeasurement" msprop:Generator_UserTableName="UnitOfMeasurement" msprop:Generator_RowDeletedName="UnitOfMeasurementRowDeleted" msprop:Generator_RowChangedName="UnitOfMeasurementRowChanged" msprop:Generator_RowClassName="UnitOfMeasurementRow" msprop:Generator_RowChangingName="UnitOfMeasurementRowChanging" msprop:Generator_RowEvArgName="UnitOfMeasurementRowChangeEvent" msprop:Generator_RowEvHandlerName="UnitOfMeasurementRowChangeEventHandler" msprop:Generator_TableClassName="UnitOfMeasurementDataTable" msprop:Generator_TableVarName="tableUnitOfMeasurement" msprop:Generator_RowDeletingName="UnitOfMeasurementRowDeleting" msprop:Generator_TablePropName="UnitOfMeasurement">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MeasurementId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="MeasurementId" msprop:Generator_ColumnVarNameInTable="columnMeasurementId" msprop:Generator_ColumnPropNameInRow="MeasurementId" msprop:Generator_ColumnPropNameInTable="MeasurementIdColumn" type="xs:long" />
              <xs:element name="MeasurementName" msprop:Generator_UserColumnName="MeasurementName" msprop:Generator_ColumnVarNameInTable="columnMeasurementName" msprop:Generator_ColumnPropNameInRow="MeasurementName" msprop:Generator_ColumnPropNameInTable="MeasurementNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ScaleFactor" msprop:Generator_UserColumnName="ScaleFactor" msprop:Generator_ColumnVarNameInTable="columnScaleFactor" msprop:Generator_ColumnPropNameInRow="ScaleFactor" msprop:Generator_ColumnPropNameInTable="ScaleFactorColumn" type="xs:double" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Users" msprop:Generator_UserTableName="Users" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowClassName="UsersRow" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_TablePropName="Users">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="UserId" msprop:Generator_ColumnVarNameInTable="columnUserId" msprop:Generator_ColumnPropNameInRow="UserId" msprop:Generator_ColumnPropNameInTable="UserIdColumn" type="xs:long" />
              <xs:element name="UserName" msprop:Generator_UserColumnName="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Password" msprop:Generator_UserColumnName="Password" msprop:Generator_ColumnVarNameInTable="columnPassword" msprop:Generator_ColumnPropNameInRow="Password" msprop:Generator_ColumnPropNameInTable="PasswordColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="IsLoggedIn" msprop:Generator_UserColumnName="IsLoggedIn" msprop:Generator_ColumnVarNameInTable="columnIsLoggedIn" msprop:Generator_ColumnPropNameInRow="IsLoggedIn" msprop:Generator_ColumnPropNameInTable="IsLoggedInColumn" type="xs:boolean" />
              <xs:element name="LastLoginActivity" msprop:Generator_UserColumnName="LastLoginActivity" msprop:Generator_ColumnVarNameInTable="columnLastLoginActivity" msprop:Generator_ColumnPropNameInRow="LastLoginActivity" msprop:Generator_ColumnPropNameInTable="LastLoginActivityColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="LastPasswordUpdate" msprop:Generator_UserColumnName="LastPasswordUpdate" msprop:Generator_ColumnVarNameInTable="columnLastPasswordUpdate" msprop:Generator_ColumnPropNameInRow="LastPasswordUpdate" msprop:Generator_ColumnPropNameInTable="LastPasswordUpdateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="RoleId" msprop:Generator_UserColumnName="RoleId" msprop:Generator_ColumnVarNameInTable="columnRoleId" msprop:Generator_ColumnPropNameInRow="RoleId" msprop:Generator_ColumnPropNameInTable="RoleIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="ShiftId" msprop:Generator_UserColumnName="ShiftId" msprop:Generator_ColumnVarNameInTable="columnShiftId" msprop:Generator_ColumnPropNameInRow="ShiftId" msprop:Generator_ColumnPropNameInTable="ShiftIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="IsEnabled" msprop:Generator_UserColumnName="IsEnabled" msprop:Generator_ColumnVarNameInTable="columnIsEnabled" msprop:Generator_ColumnPropNameInRow="IsEnabled" msprop:Generator_ColumnPropNameInTable="IsEnabledColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ServicePoints" msprop:Generator_UserTableName="ServicePoints" msprop:Generator_RowDeletedName="ServicePointsRowDeleted" msprop:Generator_RowChangedName="ServicePointsRowChanged" msprop:Generator_RowClassName="ServicePointsRow" msprop:Generator_RowChangingName="ServicePointsRowChanging" msprop:Generator_RowEvArgName="ServicePointsRowChangeEvent" msprop:Generator_RowEvHandlerName="ServicePointsRowChangeEventHandler" msprop:Generator_TableClassName="ServicePointsDataTable" msprop:Generator_TableVarName="tableServicePoints" msprop:Generator_RowDeletingName="ServicePointsRowDeleting" msprop:Generator_TablePropName="ServicePoints">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ServicePointId" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="ServicePointId" msprop:Generator_ColumnPropNameInRow="ServicePointId" msprop:Generator_ColumnVarNameInTable="columnServicePointId" msprop:Generator_ColumnPropNameInTable="ServicePointIdColumn" type="xs:string" />
              <xs:element name="PointName" msprop:Generator_UserColumnName="PointName" msprop:Generator_ColumnPropNameInRow="PointName" msprop:Generator_ColumnVarNameInTable="columnPointName" msprop:Generator_ColumnPropNameInTable="PointNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PaymentModes" msprop:Generator_UserTableName="PaymentModes" msprop:Generator_RowDeletedName="PaymentModesRowDeleted" msprop:Generator_RowChangedName="PaymentModesRowChanged" msprop:Generator_RowClassName="PaymentModesRow" msprop:Generator_RowChangingName="PaymentModesRowChanging" msprop:Generator_RowEvArgName="PaymentModesRowChangeEvent" msprop:Generator_RowEvHandlerName="PaymentModesRowChangeEventHandler" msprop:Generator_TableClassName="PaymentModesDataTable" msprop:Generator_TableVarName="tablePaymentModes" msprop:Generator_RowDeletingName="PaymentModesRowDeleting" msprop:Generator_TablePropName="PaymentModes">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ModeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ModeId" msprop:Generator_ColumnPropNameInRow="ModeId" msprop:Generator_ColumnVarNameInTable="columnModeId" msprop:Generator_ColumnPropNameInTable="ModeIdColumn" type="xs:long" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PaymentType" msprop:Generator_UserColumnName="PaymentType" msprop:Generator_ColumnPropNameInRow="PaymentType" msprop:Generator_ColumnVarNameInTable="columnPaymentType" msprop:Generator_ColumnPropNameInTable="PaymentTypeColumn" type="xs:short" />
              <xs:element name="IconIndex" msprop:Generator_UserColumnName="IconIndex" msprop:Generator_ColumnPropNameInRow="IconIndex" msprop:Generator_ColumnVarNameInTable="columnIconIndex" msprop:Generator_ColumnPropNameInTable="IconIndexColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Shifts" msprop:Generator_UserTableName="Shifts" msprop:Generator_RowDeletedName="ShiftsRowDeleted" msprop:Generator_RowChangedName="ShiftsRowChanged" msprop:Generator_RowClassName="ShiftsRow" msprop:Generator_RowChangingName="ShiftsRowChanging" msprop:Generator_RowEvArgName="ShiftsRowChangeEvent" msprop:Generator_RowEvHandlerName="ShiftsRowChangeEventHandler" msprop:Generator_TableClassName="ShiftsDataTable" msprop:Generator_TableVarName="tableShifts" msprop:Generator_RowDeletingName="ShiftsRowDeleting" msprop:Generator_TablePropName="Shifts">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ShiftId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ShiftId" msprop:Generator_ColumnPropNameInRow="ShiftId" msprop:Generator_ColumnVarNameInTable="columnShiftId" msprop:Generator_ColumnPropNameInTable="ShiftIdColumn" type="xs:long" />
              <xs:element name="ShiftName" msprop:Generator_UserColumnName="ShiftName" msprop:Generator_ColumnPropNameInRow="ShiftName" msprop:Generator_ColumnVarNameInTable="columnShiftName" msprop:Generator_ColumnPropNameInTable="ShiftNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Products" msprop:Generator_UserTableName="Products" msprop:Generator_RowDeletedName="ProductsRowDeleted" msprop:Generator_RowChangedName="ProductsRowChanged" msprop:Generator_RowClassName="ProductsRow" msprop:Generator_RowChangingName="ProductsRowChanging" msprop:Generator_RowEvArgName="ProductsRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductsRowChangeEventHandler" msprop:Generator_TableClassName="ProductsDataTable" msprop:Generator_TableVarName="tableProducts" msprop:Generator_RowDeletingName="ProductsRowDeleting" msprop:Generator_TablePropName="Products">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:long" />
              <xs:element name="ProductCode" msprop:Generator_UserColumnName="ProductCode" msprop:Generator_ColumnVarNameInTable="columnProductCode" msprop:Generator_ColumnPropNameInRow="ProductCode" msprop:Generator_ColumnPropNameInTable="ProductCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProductName" msprop:Generator_UserColumnName="ProductName" msprop:Generator_ColumnVarNameInTable="columnProductName" msprop:Generator_ColumnPropNameInRow="ProductName" msprop:Generator_ColumnPropNameInTable="ProductNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MeasurementId" msprop:Generator_UserColumnName="MeasurementId" msprop:Generator_ColumnVarNameInTable="columnMeasurementId" msprop:Generator_ColumnPropNameInRow="MeasurementId" msprop:Generator_ColumnPropNameInTable="MeasurementIdColumn" type="xs:long" minOccurs="0" />
              <xs:element name="ProductImage" msprop:Generator_UserColumnName="ProductImage" msprop:Generator_ColumnVarNameInTable="columnProductImage" msprop:Generator_ColumnPropNameInRow="ProductImage" msprop:Generator_ColumnPropNameInTable="ProductImageColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="ApplyVAT" msprop:Generator_UserColumnName="ApplyVAT" msprop:Generator_ColumnVarNameInTable="columnApplyVAT" msprop:Generator_ColumnPropNameInRow="ApplyVAT" msprop:Generator_ColumnPropNameInTable="ApplyVATColumn" type="xs:boolean" />
              <xs:element name="ApplyNHIL" msprop:Generator_UserColumnName="ApplyNHIL" msprop:Generator_ColumnVarNameInTable="columnApplyNHIL" msprop:Generator_ColumnPropNameInRow="ApplyNHIL" msprop:Generator_ColumnPropNameInTable="ApplyNHILColumn" type="xs:boolean" />
              <xs:element name="UnitPrice" msprop:Generator_UserColumnName="UnitPrice" msprop:Generator_ColumnVarNameInTable="columnUnitPrice" msprop:Generator_ColumnPropNameInRow="UnitPrice" msprop:Generator_ColumnPropNameInTable="UnitPriceColumn" type="xs:decimal" />
              <xs:element name="CostPrice" msprop:Generator_UserColumnName="CostPrice" msprop:Generator_ColumnVarNameInTable="columnCostPrice" msprop:Generator_ColumnPropNameInRow="CostPrice" msprop:Generator_ColumnPropNameInTable="CostPriceColumn" type="xs:decimal" />
              <xs:element name="UsedInSales" msprop:Generator_UserColumnName="UsedInSales" msprop:Generator_ColumnVarNameInTable="columnUsedInSales" msprop:Generator_ColumnPropNameInRow="UsedInSales" msprop:Generator_ColumnPropNameInTable="UsedInSalesColumn" type="xs:boolean" />
              <xs:element name="UsedInProduction" msprop:Generator_UserColumnName="UsedInProduction" msprop:Generator_ColumnVarNameInTable="columnUsedInProduction" msprop:Generator_ColumnPropNameInRow="UsedInProduction" msprop:Generator_ColumnPropNameInTable="UsedInProductionColumn" type="xs:boolean" />
              <xs:element name="MinLevel" msprop:Generator_UserColumnName="MinLevel" msprop:Generator_ColumnVarNameInTable="columnMinLevel" msprop:Generator_ColumnPropNameInRow="MinLevel" msprop:Generator_ColumnPropNameInTable="MinLevelColumn" type="xs:decimal" />
              <xs:element name="ReOrderLevel" msprop:Generator_UserColumnName="ReOrderLevel" msprop:Generator_ColumnVarNameInTable="columnReOrderLevel" msprop:Generator_ColumnPropNameInRow="ReOrderLevel" msprop:Generator_ColumnPropNameInTable="ReOrderLevelColumn" type="xs:decimal" />
              <xs:element name="UseIfNotInStock" msprop:Generator_UserColumnName="UseIfNotInStock" msprop:Generator_ColumnVarNameInTable="columnUseIfNotInStock" msprop:Generator_ColumnPropNameInRow="UseIfNotInStock" msprop:Generator_ColumnPropNameInTable="UseIfNotInStockColumn" type="xs:boolean" />
              <xs:element name="CodeName" msdata:ReadOnly="true" msdata:Expression="ProductCode + ' - ' + ProductName" msprop:Generator_UserColumnName="CodeName" msprop:Generator_ColumnPropNameInRow="CodeName" msprop:Generator_ColumnVarNameInTable="columnCodeName" msprop:Generator_ColumnPropNameInTable="CodeNameColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Categories" msprop:Generator_UserTableName="Categories" msprop:Generator_RowDeletedName="CategoriesRowDeleted" msprop:Generator_RowChangedName="CategoriesRowChanged" msprop:Generator_RowClassName="CategoriesRow" msprop:Generator_RowChangingName="CategoriesRowChanging" msprop:Generator_RowEvArgName="CategoriesRowChangeEvent" msprop:Generator_RowEvHandlerName="CategoriesRowChangeEventHandler" msprop:Generator_TableClassName="CategoriesDataTable" msprop:Generator_TableVarName="tableCategories" msprop:Generator_RowDeletingName="CategoriesRowDeleting" msprop:Generator_TablePropName="Categories">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CategoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CategoryId" msprop:Generator_ColumnVarNameInTable="columnCategoryId" msprop:Generator_ColumnPropNameInRow="CategoryId" msprop:Generator_ColumnPropNameInTable="CategoryIdColumn" type="xs:long" />
              <xs:element name="ParentId" msprop:Generator_UserColumnName="ParentId" msprop:Generator_ColumnVarNameInTable="columnParentId" msprop:Generator_ColumnPropNameInRow="ParentId" msprop:Generator_ColumnPropNameInTable="ParentIdColumn" type="xs:long" default="0" />
              <xs:element name="CategoryName" msprop:Generator_UserColumnName="CategoryName" msprop:Generator_ColumnVarNameInTable="columnCategoryName" msprop:Generator_ColumnPropNameInRow="CategoryName" msprop:Generator_ColumnPropNameInTable="CategoryNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CategoryImage" msprop:Generator_UserColumnName="CategoryImage" msprop:Generator_ColumnVarNameInTable="columnCategoryImage" msprop:Generator_ColumnPropNameInRow="CategoryImage" msprop:Generator_ColumnPropNameInTable="CategoryImageColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Currencies" />
      <xs:field xpath="mstns:CurrencyId" />
    </xs:unique>
    <xs:unique name="CustomerOuts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustomerOuts" />
      <xs:field xpath="mstns:CustomerOutId" />
    </xs:unique>
    <xs:unique name="Customers_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Customers" />
      <xs:field xpath="mstns:CustomerId" />
    </xs:unique>
    <xs:unique name="Locations_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Locations" />
      <xs:field xpath="mstns:LocationId" />
    </xs:unique>
    <xs:unique name="PaymentTypes_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PaymentTypes" />
      <xs:field xpath="mstns:PaymentTypeId" />
    </xs:unique>
    <xs:unique name="PayTrans_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PayTrans" />
      <xs:field xpath="mstns:TransactionId" />
    </xs:unique>
    <xs:unique name="Periods_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Periods" />
      <xs:field xpath="mstns:PeriodId" />
    </xs:unique>
    <xs:unique name="ProductStock_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductStock" />
      <xs:field xpath="mstns:StockId" />
    </xs:unique>
    <xs:unique name="ProductSuppliers_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductSuppliers" />
      <xs:field xpath="mstns:SupplyId" />
    </xs:unique>
    <xs:unique name="Roles_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Roles" />
      <xs:field xpath="mstns:RoleId" />
    </xs:unique>
    <xs:unique name="StockCount_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:StockCount" />
      <xs:field xpath="mstns:CountId" />
    </xs:unique>
    <xs:unique name="StockTypes_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:StockTypes" />
      <xs:field xpath="mstns:StockTypeId" />
    </xs:unique>
    <xs:unique name="Suppliers_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Suppliers" />
      <xs:field xpath="mstns:SupplierId" />
    </xs:unique>
    <xs:unique name="Taxes_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Taxes" />
      <xs:field xpath="mstns:TaxId" />
    </xs:unique>
    <xs:unique name="TransactionTypes_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TransactionTypes" />
      <xs:field xpath="mstns:TransactionTypeId" />
    </xs:unique>
    <xs:unique name="UnitOfMeasurement_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UnitOfMeasurement" />
      <xs:field xpath="mstns:MeasurementId" />
    </xs:unique>
    <xs:unique name="Users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Users" />
      <xs:field xpath="mstns:UserId" />
    </xs:unique>
    <xs:unique name="ServicePoints_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ServicePoints" />
      <xs:field xpath="mstns:ServicePointId" />
    </xs:unique>
    <xs:unique name="PaymentModes_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PaymentModes" />
      <xs:field xpath="mstns:ModeId" />
    </xs:unique>
    <xs:unique name="Shifts_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Shifts" />
      <xs:field xpath="mstns:ShiftId" />
    </xs:unique>
    <xs:unique name="Products_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Products" />
      <xs:field xpath="mstns:ProductId" />
    </xs:unique>
    <xs:unique name="Categories_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Categories" />
      <xs:field xpath="mstns:CategoryId" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_CustomerOuts_Customers" msdata:parent="Customers" msdata:child="CustomerOuts" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_CustomerOuts_Customers" msprop:Generator_RelationVarName="relationFK_CustomerOuts_Customers" msprop:Generator_UserChildTable="CustomerOuts" msprop:Generator_UserParentTable="Customers" msprop:Generator_ParentPropName="CustomersRow" msprop:Generator_ChildPropName="GetCustomerOutsRows" />
      <msdata:Relationship name="FK_Payments_TransactionTypes" msdata:parent="TransactionTypes" msdata:child="PayTrans" msdata:parentkey="TransactionTypeId" msdata:childkey="TransactionType" msprop:Generator_UserRelationName="FK_Payments_TransactionTypes" msprop:Generator_RelationVarName="relationFK_Payments_TransactionTypes" msprop:Generator_UserChildTable="PayTrans" msprop:Generator_UserParentTable="TransactionTypes" msprop:Generator_ParentPropName="TransactionTypesRow" msprop:Generator_ChildPropName="GetPayTransRows" />
      <msdata:Relationship name="FK_PayTrans_Currencies" msdata:parent="Currencies" msdata:child="PayTrans" msdata:parentkey="CurrencyId" msdata:childkey="CurrencyId" msprop:Generator_UserRelationName="FK_PayTrans_Currencies" msprop:Generator_RelationVarName="relationFK_PayTrans_Currencies" msprop:Generator_UserChildTable="PayTrans" msprop:Generator_UserParentTable="Currencies" msprop:Generator_ParentPropName="CurrenciesRow" msprop:Generator_ChildPropName="GetPayTransRows" />
      <msdata:Relationship name="FK_PayTrans_Customers" msdata:parent="Customers" msdata:child="PayTrans" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_PayTrans_Customers" msprop:Generator_RelationVarName="relationFK_PayTrans_Customers" msprop:Generator_UserChildTable="PayTrans" msprop:Generator_UserParentTable="Customers" msprop:Generator_ParentPropName="CustomersRow" msprop:Generator_ChildPropName="GetPayTransRows" />
      <msdata:Relationship name="FK_ProductStock_Periods" msdata:parent="Periods" msdata:child="ProductStock" msdata:parentkey="PeriodId" msdata:childkey="PeriodId" msprop:Generator_UserRelationName="FK_ProductStock_Periods" msprop:Generator_RelationVarName="relationFK_ProductStock_Periods" msprop:Generator_UserChildTable="ProductStock" msprop:Generator_UserParentTable="Periods" msprop:Generator_ParentPropName="PeriodsRow" msprop:Generator_ChildPropName="GetProductStockRows" />
      <msdata:Relationship name="FK_ProductStock_SourceLocations" msdata:parent="Locations" msdata:child="ProductStock" msdata:parentkey="LocationId" msdata:childkey="SourceLocationId" msprop:Generator_UserRelationName="FK_ProductStock_SourceLocations" msprop:Generator_RelationVarName="relationFK_ProductStock_SourceLocations" msprop:Generator_UserChildTable="ProductStock" msprop:Generator_UserParentTable="Locations" msprop:Generator_ParentPropName="LocationsRowByFK_ProductStock_SourceLocations" msprop:Generator_ChildPropName="GetProductStockRowsByFK_ProductStock_SourceLocations" />
      <msdata:Relationship name="FK_ProductStock_StockTypes" msdata:parent="StockTypes" msdata:child="ProductStock" msdata:parentkey="StockTypeId" msdata:childkey="StockType" msprop:Generator_UserRelationName="FK_ProductStock_StockTypes" msprop:Generator_RelationVarName="relationFK_ProductStock_StockTypes" msprop:Generator_UserChildTable="ProductStock" msprop:Generator_UserParentTable="StockTypes" msprop:Generator_ParentPropName="StockTypesRow" msprop:Generator_ChildPropName="GetProductStockRows" />
      <msdata:Relationship name="FK_ProductStock_TargetLocations" msdata:parent="Locations" msdata:child="ProductStock" msdata:parentkey="LocationId" msdata:childkey="TargetLocationId" msprop:Generator_UserRelationName="FK_ProductStock_TargetLocations" msprop:Generator_RelationVarName="relationFK_ProductStock_TargetLocations" msprop:Generator_UserChildTable="ProductStock" msprop:Generator_UserParentTable="Locations" msprop:Generator_ParentPropName="LocationsRowByFK_ProductStock_TargetLocations" msprop:Generator_ChildPropName="GetProductStockRowsByFK_ProductStock_TargetLocations" />
      <msdata:Relationship name="FK_ProductSuppliers_Suppliers" msdata:parent="Suppliers" msdata:child="ProductSuppliers" msdata:parentkey="SupplierId" msdata:childkey="SupplierId" msprop:Generator_UserRelationName="FK_ProductSuppliers_Suppliers" msprop:Generator_RelationVarName="relationFK_ProductSuppliers_Suppliers" msprop:Generator_UserChildTable="ProductSuppliers" msprop:Generator_UserParentTable="Suppliers" msprop:Generator_ParentPropName="SuppliersRow" msprop:Generator_ChildPropName="GetProductSuppliersRows" />
      <msdata:Relationship name="FK_StockCount_Periods" msdata:parent="Periods" msdata:child="StockCount" msdata:parentkey="PeriodId" msdata:childkey="PeriodId" msprop:Generator_UserRelationName="FK_StockCount_Periods" msprop:Generator_RelationVarName="relationFK_StockCount_Periods" msprop:Generator_UserChildTable="StockCount" msprop:Generator_UserParentTable="Periods" msprop:Generator_ParentPropName="PeriodsRow" msprop:Generator_ChildPropName="GetStockCountRows" />
      <msdata:Relationship name="FK_Users_Roles" msdata:parent="Roles" msdata:child="Users" msdata:parentkey="RoleId" msdata:childkey="RoleId" msprop:Generator_UserRelationName="FK_Users_Roles" msprop:Generator_RelationVarName="relationFK_Users_Roles" msprop:Generator_UserChildTable="Users" msprop:Generator_UserParentTable="Roles" msprop:Generator_ParentPropName="RolesRow" msprop:Generator_ChildPropName="GetUsersRows" />
      <msdata:Relationship name="FK_Customers_PaymentModes" msdata:parent="PaymentModes" msdata:child="Customers" msdata:parentkey="ModeId" msdata:childkey="PaymentModeId" msprop:Generator_UserRelationName="FK_Customers_PaymentModes" msprop:Generator_RelationVarName="relationFK_Customers_PaymentModes" msprop:Generator_UserChildTable="Customers" msprop:Generator_UserParentTable="PaymentModes" msprop:Generator_ParentPropName="PaymentModesRow" msprop:Generator_ChildPropName="GetCustomersRows" />
      <msdata:Relationship name="FK_PayTrans_PaymentModes" msdata:parent="PaymentModes" msdata:child="PayTrans" msdata:parentkey="ModeId" msdata:childkey="PaymentModeId" msprop:Generator_UserRelationName="FK_PayTrans_PaymentModes" msprop:Generator_RelationVarName="relationFK_PayTrans_PaymentModes" msprop:Generator_UserChildTable="PayTrans" msprop:Generator_UserParentTable="PaymentModes" msprop:Generator_ParentPropName="PaymentModesRow" msprop:Generator_ChildPropName="GetPayTransRows" />
      <msdata:Relationship name="FK_PaymentModes_PaymentTypes" msdata:parent="PaymentTypes" msdata:child="PaymentModes" msdata:parentkey="PaymentTypeId" msdata:childkey="PaymentType" msprop:Generator_UserRelationName="FK_PaymentModes_PaymentTypes" msprop:Generator_RelationVarName="relationFK_PaymentModes_PaymentTypes" msprop:Generator_UserChildTable="PaymentModes" msprop:Generator_UserParentTable="PaymentTypes" msprop:Generator_ParentPropName="PaymentTypesRow" msprop:Generator_ChildPropName="GetPaymentModesRows" />
      <msdata:Relationship name="FK_Users_Shifts" msdata:parent="Shifts" msdata:child="Users" msdata:parentkey="ShiftId" msdata:childkey="ShiftId" msprop:Generator_UserRelationName="FK_Users_Shifts" msprop:Generator_RelationVarName="relationFK_Users_Shifts" msprop:Generator_UserChildTable="Users" msprop:Generator_UserParentTable="Shifts" msprop:Generator_ParentPropName="ShiftsRow" msprop:Generator_ChildPropName="GetUsersRows" />
      <msdata:Relationship name="FK_ProductCategories_Products" msdata:parent="Products" msdata:child="ProductCategories" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_ProductCategories_Products" msprop:Generator_RelationVarName="relationFK_ProductCategories_Products" msprop:Generator_UserChildTable="ProductCategories" msprop:Generator_UserParentTable="Products" msprop:Generator_ParentPropName="ProductsRow" msprop:Generator_ChildPropName="GetProductCategoriesRows" />
      <msdata:Relationship name="FK_ProductStock_Products" msdata:parent="Products" msdata:child="ProductStock" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_ProductStock_Products" msprop:Generator_RelationVarName="relationFK_ProductStock_Products" msprop:Generator_UserChildTable="ProductStock" msprop:Generator_UserParentTable="Products" msprop:Generator_ParentPropName="ProductsRow" msprop:Generator_ChildPropName="GetProductStockRows" />
      <msdata:Relationship name="FK_ProductSuppliers_Products" msdata:parent="Products" msdata:child="ProductSuppliers" msdata:parentkey="ProductId" msdata:childkey="ProductIId" msprop:Generator_UserRelationName="FK_ProductSuppliers_Products" msprop:Generator_RelationVarName="relationFK_ProductSuppliers_Products" msprop:Generator_UserChildTable="ProductSuppliers" msprop:Generator_UserParentTable="Products" msprop:Generator_ParentPropName="ProductsRow" msprop:Generator_ChildPropName="GetProductSuppliersRows" />
      <msdata:Relationship name="FK_StockCount_Products" msdata:parent="Products" msdata:child="StockCount" msdata:parentkey="ProductId" msdata:childkey="ProductId" msprop:Generator_UserRelationName="FK_StockCount_Products" msprop:Generator_RelationVarName="relationFK_StockCount_Products" msprop:Generator_UserChildTable="StockCount" msprop:Generator_UserParentTable="Products" msprop:Generator_ParentPropName="ProductsRow" msprop:Generator_ChildPropName="GetStockCountRows" />
      <msdata:Relationship name="FK_Products_UnitOfMeasurement" msdata:parent="UnitOfMeasurement" msdata:child="Products" msdata:parentkey="MeasurementId" msdata:childkey="MeasurementId" msprop:Generator_UserRelationName="FK_Products_UnitOfMeasurement" msprop:Generator_RelationVarName="relationFK_Products_UnitOfMeasurement" msprop:Generator_UserChildTable="Products" msprop:Generator_UserParentTable="UnitOfMeasurement" msprop:Generator_ParentPropName="UnitOfMeasurementRow" msprop:Generator_ChildPropName="GetProductsRows" />
      <msdata:Relationship name="FK_ProductCategories_Categories" msdata:parent="Categories" msdata:child="ProductCategories" msdata:parentkey="CategoryId" msdata:childkey="CategoryId" msprop:Generator_UserRelationName="FK_ProductCategories_Categories" msprop:Generator_RelationVarName="relationFK_ProductCategories_Categories" msprop:Generator_UserChildTable="ProductCategories" msprop:Generator_UserParentTable="Categories" msprop:Generator_ParentPropName="CategoriesRow" msprop:Generator_ChildPropName="GetProductCategoriesRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>